usbatm cxacru.c,1.12,1.13
kagan at infradead.org
kagan at infradead.org
Thu Feb 10 17:37:30 EST 2005
Update of /home/cvs/usbatm
In directory phoenix.infradead.org:/tmp/cvs-serv4777
Modified Files:
cxacru.c
Log Message:
Use usb_intf->dev rather that usb_dev->dev for debugging
Index: cxacru.c
===================================================================
RCS file: /home/cvs/usbatm/cxacru.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- cxacru.c 10 Feb 2005 21:53:22 -0000 1.12
+++ cxacru.c 10 Feb 2005 22:37:26 -0000 1.13
@@ -514,7 +514,7 @@
int ret;
int off;
struct usb_device *usb_dev = instance->usbatm->usb_dev;
- struct device *dev = &usb_dev->dev;
+ struct device *dev = &instance->usbatm->usb_intf->dev;
const u32 vid = usb_dev->descriptor.idVendor;
const u32 pid = usb_dev->descriptor.idProduct;
u32 val;
@@ -619,7 +619,7 @@
static int cxacru_find_firmware(struct cxacru_data *instance,
char* phase, const struct firmware **fw_p)
{
- struct device *dev = &instance->usbatm->usb_dev->dev;
+ struct device *dev = &instance->usbatm->usb_intf->dev;
char buf[16];
sprintf(buf, "cxacru-%s.bin", phase);
@@ -638,7 +638,7 @@
static int cxacru_heavy_init(struct usbatm_data *usbatm_instance,
struct usb_interface *usb_intf)
{
- struct device *dev = &instance->usbatm->usb_dev->dev;
+ struct device *dev = &usbatm_instance->usb_intf->dev;
const struct firmware *fw, *bp, *cf;
struct cxacru_data *instance = usbatm_instance->driver_data;
More information about the Usbatm-commits
mailing list