diff options
Diffstat (limited to 'drivers/net/usb/gl620a.c')
-rw-r--r-- | drivers/net/usb/gl620a.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/gl620a.c b/drivers/net/usb/gl620a.c index c4cfd1dea881..38266bdae26b 100644 --- a/drivers/net/usb/gl620a.c +++ b/drivers/net/usb/gl620a.c | |||
@@ -227,17 +227,7 @@ static struct usb_driver gl620a_driver = { | |||
227 | .resume = usbnet_resume, | 227 | .resume = usbnet_resume, |
228 | }; | 228 | }; |
229 | 229 | ||
230 | static int __init usbnet_init(void) | 230 | module_usb_driver(gl620a_driver); |
231 | { | ||
232 | return usb_register(&gl620a_driver); | ||
233 | } | ||
234 | module_init(usbnet_init); | ||
235 | |||
236 | static void __exit usbnet_exit(void) | ||
237 | { | ||
238 | usb_deregister(&gl620a_driver); | ||
239 | } | ||
240 | module_exit(usbnet_exit); | ||
241 | 231 | ||
242 | MODULE_AUTHOR("Jiun-Jie Huang"); | 232 | MODULE_AUTHOR("Jiun-Jie Huang"); |
243 | MODULE_DESCRIPTION("GL620-USB-A Host-to-Host Link cables"); | 233 | MODULE_DESCRIPTION("GL620-USB-A Host-to-Host Link cables"); |