diff options
Diffstat (limited to 'drivers/net/usb/cx82310_eth.c')
-rw-r--r-- | drivers/net/usb/cx82310_eth.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/cx82310_eth.c b/drivers/net/usb/cx82310_eth.c index 8969f124c18c..0e0531356e62 100644 --- a/drivers/net/usb/cx82310_eth.c +++ b/drivers/net/usb/cx82310_eth.c | |||
@@ -329,17 +329,7 @@ static struct usb_driver cx82310_driver = { | |||
329 | .resume = usbnet_resume, | 329 | .resume = usbnet_resume, |
330 | }; | 330 | }; |
331 | 331 | ||
332 | static int __init cx82310_init(void) | 332 | module_usb_driver(cx82310_driver); |
333 | { | ||
334 | return usb_register(&cx82310_driver); | ||
335 | } | ||
336 | module_init(cx82310_init); | ||
337 | |||
338 | static void __exit cx82310_exit(void) | ||
339 | { | ||
340 | usb_deregister(&cx82310_driver); | ||
341 | } | ||
342 | module_exit(cx82310_exit); | ||
343 | 333 | ||
344 | MODULE_AUTHOR("Ondrej Zary"); | 334 | MODULE_AUTHOR("Ondrej Zary"); |
345 | MODULE_DESCRIPTION("Conexant CX82310-based ADSL router USB ethernet driver"); | 335 | MODULE_DESCRIPTION("Conexant CX82310-based ADSL router USB ethernet driver"); |