summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/atmel_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/atmel_pci.c')
-rw-r--r--drivers/net/wireless/atmel_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/atmel_pci.c b/drivers/net/wireless/atmel_pci.c
index d425c3c..3bfa791 100644
--- a/drivers/net/wireless/atmel_pci.c
+++ b/drivers/net/wireless/atmel_pci.c
@@ -76,7 +76,7 @@ static void __devexit atmel_pci_remove(struct pci_dev *pdev)
static int __init atmel_init_module(void)
{
- return pci_module_init(&atmel_driver);
+ return pci_register_driver(&atmel_driver);
}
static void __exit atmel_cleanup_module(void)
OpenPOWER on IntegriCloud