diff options
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r-- | drivers/net/wireless/rndis_wlan.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c index 0c13840a7de5..85370a7dfa8b 100644 --- a/drivers/net/wireless/rndis_wlan.c +++ b/drivers/net/wireless/rndis_wlan.c | |||
@@ -3754,17 +3754,7 @@ static struct usb_driver rndis_wlan_driver = { | |||
3754 | .resume = usbnet_resume, | 3754 | .resume = usbnet_resume, |
3755 | }; | 3755 | }; |
3756 | 3756 | ||
3757 | static int __init rndis_wlan_init(void) | 3757 | module_usb_driver(rndis_wlan_driver); |
3758 | { | ||
3759 | return usb_register(&rndis_wlan_driver); | ||
3760 | } | ||
3761 | module_init(rndis_wlan_init); | ||
3762 | |||
3763 | static void __exit rndis_wlan_exit(void) | ||
3764 | { | ||
3765 | usb_deregister(&rndis_wlan_driver); | ||
3766 | } | ||
3767 | module_exit(rndis_wlan_exit); | ||
3768 | 3758 | ||
3769 | MODULE_AUTHOR("Bjorge Dijkstra"); | 3759 | MODULE_AUTHOR("Bjorge Dijkstra"); |
3770 | MODULE_AUTHOR("Jussi Kivilinna"); | 3760 | MODULE_AUTHOR("Jussi Kivilinna"); |