diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu/sw.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c index c244f2f1b83f..674cd1a486c5 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | |||
@@ -356,15 +356,4 @@ static struct usb_driver rtl8192cu_driver = { | |||
356 | #endif | 356 | #endif |
357 | }; | 357 | }; |
358 | 358 | ||
359 | static int __init rtl8192cu_init(void) | 359 | module_usb_driver(rtl8192cu_driver); |
360 | { | ||
361 | return usb_register(&rtl8192cu_driver); | ||
362 | } | ||
363 | |||
364 | static void __exit rtl8192cu_exit(void) | ||
365 | { | ||
366 | usb_deregister(&rtl8192cu_driver); | ||
367 | } | ||
368 | |||
369 | module_init(rtl8192cu_init); | ||
370 | module_exit(rtl8192cu_exit); | ||