diff options
Diffstat (limited to 'drivers/net/usb/mcs7830.c')
-rw-r--r-- | drivers/net/usb/mcs7830.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/mcs7830.c b/drivers/net/usb/mcs7830.c index db2cb74bf854..a29aa9cf9f6e 100644 --- a/drivers/net/usb/mcs7830.c +++ b/drivers/net/usb/mcs7830.c | |||
@@ -692,17 +692,7 @@ static struct usb_driver mcs7830_driver = { | |||
692 | .reset_resume = mcs7830_reset_resume, | 692 | .reset_resume = mcs7830_reset_resume, |
693 | }; | 693 | }; |
694 | 694 | ||
695 | static int __init mcs7830_init(void) | 695 | module_usb_driver(mcs7830_driver); |
696 | { | ||
697 | return usb_register(&mcs7830_driver); | ||
698 | } | ||
699 | module_init(mcs7830_init); | ||
700 | |||
701 | static void __exit mcs7830_exit(void) | ||
702 | { | ||
703 | usb_deregister(&mcs7830_driver); | ||
704 | } | ||
705 | module_exit(mcs7830_exit); | ||
706 | 696 | ||
707 | MODULE_DESCRIPTION("USB to network adapter MCS7830)"); | 697 | MODULE_DESCRIPTION("USB to network adapter MCS7830)"); |
708 | MODULE_LICENSE("GPL"); | 698 | MODULE_LICENSE("GPL"); |