diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192se/sw.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192se/sw.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/sw.c b/drivers/net/wireless/rtlwifi/rtl8192se/sw.c index f1b36005c6a2..730bcc919529 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192se/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192se/sw.c | |||
@@ -450,21 +450,4 @@ static struct pci_driver rtl92se_driver = { | |||
450 | .driver.pm = &rtlwifi_pm_ops, | 450 | .driver.pm = &rtlwifi_pm_ops, |
451 | }; | 451 | }; |
452 | 452 | ||
453 | static int __init rtl92se_module_init(void) | 453 | module_pci_driver(rtl92se_driver); |
454 | { | ||
455 | int ret = 0; | ||
456 | |||
457 | ret = pci_register_driver(&rtl92se_driver); | ||
458 | if (ret) | ||
459 | RT_ASSERT(false, "No device found\n"); | ||
460 | |||
461 | return ret; | ||
462 | } | ||
463 | |||
464 | static void __exit rtl92se_module_exit(void) | ||
465 | { | ||
466 | pci_unregister_driver(&rtl92se_driver); | ||
467 | } | ||
468 | |||
469 | module_init(rtl92se_module_init); | ||
470 | module_exit(rtl92se_module_exit); | ||