diff options
Diffstat (limited to 'drivers/net/usb/dm9601.c')
-rw-r--r-- | drivers/net/usb/dm9601.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/net/usb/dm9601.c b/drivers/net/usb/dm9601.c index fbc0e4def767..b97226318ea5 100644 --- a/drivers/net/usb/dm9601.c +++ b/drivers/net/usb/dm9601.c | |||
@@ -672,18 +672,7 @@ static struct usb_driver dm9601_driver = { | |||
672 | .resume = usbnet_resume, | 672 | .resume = usbnet_resume, |
673 | }; | 673 | }; |
674 | 674 | ||
675 | static int __init dm9601_init(void) | 675 | module_usb_driver(dm9601_driver); |
676 | { | ||
677 | return usb_register(&dm9601_driver); | ||
678 | } | ||
679 | |||
680 | static void __exit dm9601_exit(void) | ||
681 | { | ||
682 | usb_deregister(&dm9601_driver); | ||
683 | } | ||
684 | |||
685 | module_init(dm9601_init); | ||
686 | module_exit(dm9601_exit); | ||
687 | 676 | ||
688 | MODULE_AUTHOR("Peter Korsgaard <jacmet@sunsite.dk>"); | 677 | MODULE_AUTHOR("Peter Korsgaard <jacmet@sunsite.dk>"); |
689 | MODULE_DESCRIPTION("Davicom DM9601 USB 1.1 ethernet devices"); | 678 | MODULE_DESCRIPTION("Davicom DM9601 USB 1.1 ethernet devices"); |