diff options
Diffstat (limited to 'drivers/net/usb/lg-vl600.c')
-rw-r--r-- | drivers/net/usb/lg-vl600.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/lg-vl600.c b/drivers/net/usb/lg-vl600.c index 9c26c6390d69..45a981fde43f 100644 --- a/drivers/net/usb/lg-vl600.c +++ b/drivers/net/usb/lg-vl600.c | |||
@@ -346,17 +346,7 @@ static struct usb_driver lg_vl600_driver = { | |||
346 | .resume = usbnet_resume, | 346 | .resume = usbnet_resume, |
347 | }; | 347 | }; |
348 | 348 | ||
349 | static int __init vl600_init(void) | 349 | module_usb_driver(lg_vl600_driver); |
350 | { | ||
351 | return usb_register(&lg_vl600_driver); | ||
352 | } | ||
353 | module_init(vl600_init); | ||
354 | |||
355 | static void __exit vl600_exit(void) | ||
356 | { | ||
357 | usb_deregister(&lg_vl600_driver); | ||
358 | } | ||
359 | module_exit(vl600_exit); | ||
360 | 350 | ||
361 | MODULE_AUTHOR("Anrzej Zaborowski"); | 351 | MODULE_AUTHOR("Anrzej Zaborowski"); |
362 | MODULE_DESCRIPTION("LG-VL600 modem's ethernet link"); | 352 | MODULE_DESCRIPTION("LG-VL600 modem's ethernet link"); |