diff options
Diffstat (limited to 'drivers/net/usb/net1080.c')
-rw-r--r-- | drivers/net/usb/net1080.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/net1080.c b/drivers/net/usb/net1080.c index 01db4602a39e..83f965cb69e7 100644 --- a/drivers/net/usb/net1080.c +++ b/drivers/net/usb/net1080.c | |||
@@ -589,17 +589,7 @@ static struct usb_driver net1080_driver = { | |||
589 | .resume = usbnet_resume, | 589 | .resume = usbnet_resume, |
590 | }; | 590 | }; |
591 | 591 | ||
592 | static int __init net1080_init(void) | 592 | module_usb_driver(net1080_driver); |
593 | { | ||
594 | return usb_register(&net1080_driver); | ||
595 | } | ||
596 | module_init(net1080_init); | ||
597 | |||
598 | static void __exit net1080_exit(void) | ||
599 | { | ||
600 | usb_deregister(&net1080_driver); | ||
601 | } | ||
602 | module_exit(net1080_exit); | ||
603 | 593 | ||
604 | MODULE_AUTHOR("David Brownell"); | 594 | MODULE_AUTHOR("David Brownell"); |
605 | MODULE_DESCRIPTION("NetChip 1080 based USB Host-to-Host Links"); | 595 | MODULE_DESCRIPTION("NetChip 1080 based USB Host-to-Host Links"); |