diff options
Diffstat (limited to 'drivers/net/usb/asix.c')
-rw-r--r-- | drivers/net/usb/asix.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c index e95f0e60a9b..823715ac127 100644 --- a/drivers/net/usb/asix.c +++ b/drivers/net/usb/asix.c | |||
@@ -1674,17 +1674,7 @@ static struct usb_driver asix_driver = { | |||
1674 | .supports_autosuspend = 1, | 1674 | .supports_autosuspend = 1, |
1675 | }; | 1675 | }; |
1676 | 1676 | ||
1677 | static int __init asix_init(void) | 1677 | module_usb_driver(asix_driver); |
1678 | { | ||
1679 | return usb_register(&asix_driver); | ||
1680 | } | ||
1681 | module_init(asix_init); | ||
1682 | |||
1683 | static void __exit asix_exit(void) | ||
1684 | { | ||
1685 | usb_deregister(&asix_driver); | ||
1686 | } | ||
1687 | module_exit(asix_exit); | ||
1688 | 1678 | ||
1689 | MODULE_AUTHOR("David Hollis"); | 1679 | MODULE_AUTHOR("David Hollis"); |
1690 | MODULE_VERSION(DRIVER_VERSION); | 1680 | MODULE_VERSION(DRIVER_VERSION); |