diff options
Diffstat (limited to 'drivers/usb/misc/yurex.c')
-rw-r--r-- | drivers/usb/misc/yurex.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/misc/yurex.c b/drivers/usb/misc/yurex.c index 24278208bf74..1472805083de 100644 --- a/drivers/usb/misc/yurex.c +++ b/drivers/usb/misc/yurex.c | |||
@@ -296,6 +296,7 @@ static int yurex_probe(struct usb_interface *interface, const struct usb_device_ | |||
296 | 296 | ||
297 | /* save our data pointer in this interface device */ | 297 | /* save our data pointer in this interface device */ |
298 | usb_set_intfdata(interface, dev); | 298 | usb_set_intfdata(interface, dev); |
299 | dev->bbu = -1; | ||
299 | 300 | ||
300 | /* we can register the device now, as it is ready */ | 301 | /* we can register the device now, as it is ready */ |
301 | retval = usb_register_dev(interface, &yurex_class); | 302 | retval = usb_register_dev(interface, &yurex_class); |
@@ -306,8 +307,6 @@ static int yurex_probe(struct usb_interface *interface, const struct usb_device_ | |||
306 | goto error; | 307 | goto error; |
307 | } | 308 | } |
308 | 309 | ||
309 | dev->bbu = -1; | ||
310 | |||
311 | dev_info(&interface->dev, | 310 | dev_info(&interface->dev, |
312 | "USB YUREX device now attached to Yurex #%d\n", | 311 | "USB YUREX device now attached to Yurex #%d\n", |
313 | interface->minor); | 312 | interface->minor); |