diff options
Diffstat (limited to 'drivers/net/usb/rndis_host.c')
-rw-r--r-- | drivers/net/usb/rndis_host.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c index 255d6a424a6b..c8f1b5b3aff3 100644 --- a/drivers/net/usb/rndis_host.c +++ b/drivers/net/usb/rndis_host.c | |||
@@ -635,17 +635,7 @@ static struct usb_driver rndis_driver = { | |||
635 | .resume = usbnet_resume, | 635 | .resume = usbnet_resume, |
636 | }; | 636 | }; |
637 | 637 | ||
638 | static int __init rndis_init(void) | 638 | module_usb_driver(rndis_driver); |
639 | { | ||
640 | return usb_register(&rndis_driver); | ||
641 | } | ||
642 | module_init(rndis_init); | ||
643 | |||
644 | static void __exit rndis_exit(void) | ||
645 | { | ||
646 | usb_deregister(&rndis_driver); | ||
647 | } | ||
648 | module_exit(rndis_exit); | ||
649 | 639 | ||
650 | MODULE_AUTHOR("David Brownell"); | 640 | MODULE_AUTHOR("David Brownell"); |
651 | MODULE_DESCRIPTION("USB Host side RNDIS driver"); | 641 | MODULE_DESCRIPTION("USB Host side RNDIS driver"); |