aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/asix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/asix.c')
-rw-r--r--drivers/net/usb/asix.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index e81e22e3d1d2..97a1cc7ce684 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb/asix.c
@@ -1634,17 +1634,7 @@ static struct usb_driver asix_driver = {
1634 .supports_autosuspend = 1, 1634 .supports_autosuspend = 1,
1635}; 1635};
1636 1636
1637static int __init asix_init(void) 1637module_usb_driver(asix_driver);
1638{
1639 return usb_register(&asix_driver);
1640}
1641module_init(asix_init);
1642
1643static void __exit asix_exit(void)
1644{
1645 usb_deregister(&asix_driver);
1646}
1647module_exit(asix_exit);
1648 1638
1649MODULE_AUTHOR("David Hollis"); 1639MODULE_AUTHOR("David Hollis");
1650MODULE_VERSION(DRIVER_VERSION); 1640MODULE_VERSION(DRIVER_VERSION);