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 d43db32f9478..497db19f8cf8 100644 --- a/drivers/net/usb/lg-vl600.c +++ b/drivers/net/usb/lg-vl600.c | |||
@@ -349,17 +349,7 @@ static struct usb_driver lg_vl600_driver = { | |||
349 | .resume = usbnet_resume, | 349 | .resume = usbnet_resume, |
350 | }; | 350 | }; |
351 | 351 | ||
352 | static int __init vl600_init(void) | 352 | module_usb_driver(lg_vl600_driver); |
353 | { | ||
354 | return usb_register(&lg_vl600_driver); | ||
355 | } | ||
356 | module_init(vl600_init); | ||
357 | |||
358 | static void __exit vl600_exit(void) | ||
359 | { | ||
360 | usb_deregister(&lg_vl600_driver); | ||
361 | } | ||
362 | module_exit(vl600_exit); | ||
363 | 353 | ||
364 | MODULE_AUTHOR("Anrzej Zaborowski"); | 354 | MODULE_AUTHOR("Anrzej Zaborowski"); |
365 | MODULE_DESCRIPTION("LG-VL600 modem's ethernet link"); | 355 | MODULE_DESCRIPTION("LG-VL600 modem's ethernet link"); |