diff options
Diffstat (limited to 'drivers/ata/acard-ahci.c')
-rw-r--r-- | drivers/ata/acard-ahci.c | 13 |
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 | ||
506 | static int __init acard_ahci_init(void) | 506 | module_pci_driver(acard_ahci_pci_driver); |
507 | { | ||
508 | return pci_register_driver(&acard_ahci_pci_driver); | ||
509 | } | ||
510 | |||
511 | static void __exit acard_ahci_exit(void) | ||
512 | { | ||
513 | pci_unregister_driver(&acard_ahci_pci_driver); | ||
514 | } | ||
515 | 507 | ||
516 | MODULE_AUTHOR("Jeff Garzik"); | 508 | MODULE_AUTHOR("Jeff Garzik"); |
517 | MODULE_DESCRIPTION("ACard AHCI SATA low-level driver"); | 509 | MODULE_DESCRIPTION("ACard AHCI SATA low-level driver"); |
518 | MODULE_LICENSE("GPL"); | 510 | MODULE_LICENSE("GPL"); |
519 | MODULE_DEVICE_TABLE(pci, acard_ahci_pci_tbl); | 511 | MODULE_DEVICE_TABLE(pci, acard_ahci_pci_tbl); |
520 | MODULE_VERSION(DRV_VERSION); | 512 | MODULE_VERSION(DRV_VERSION); |
521 | |||
522 | module_init(acard_ahci_init); | ||
523 | module_exit(acard_ahci_exit); | ||