aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/acard-ahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/acard-ahci.c')
-rw-r--r--drivers/ata/acard-ahci.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ata/acard-ahci.c b/drivers/ata/acard-ahci.c
index 3bc8c79bf2c7..4e94ba29cb8d 100644
--- a/drivers/ata/acard-ahci.c
+++ b/drivers/ata/acard-ahci.c
@@ -503,21 +503,10 @@ static int acard_ahci_init_one(struct pci_dev *pdev, const struct pci_device_id
503 &acard_ahci_sht); 503 &acard_ahci_sht);
504} 504}
505 505
506static int __init acard_ahci_init(void) 506module_pci_driver(acard_ahci_pci_driver);
507{
508 return pci_register_driver(&acard_ahci_pci_driver);
509}
510
511static void __exit acard_ahci_exit(void)
512{
513 pci_unregister_driver(&acard_ahci_pci_driver);
514}
515 507
516MODULE_AUTHOR("Jeff Garzik"); 508MODULE_AUTHOR("Jeff Garzik");
517MODULE_DESCRIPTION("ACard AHCI SATA low-level driver"); 509MODULE_DESCRIPTION("ACard AHCI SATA low-level driver");
518MODULE_LICENSE("GPL"); 510MODULE_LICENSE("GPL");
519MODULE_DEVICE_TABLE(pci, acard_ahci_pci_tbl); 511MODULE_DEVICE_TABLE(pci, acard_ahci_pci_tbl);
520MODULE_VERSION(DRV_VERSION); 512MODULE_VERSION(DRV_VERSION);
521
522module_init(acard_ahci_init);
523module_exit(acard_ahci_exit);