summaryrefslogtreecommitdiff
path: root/drivers/scsi/ahci.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-08-10 06:56:51 -0400
committerJeff Garzik <jeff@garzik.org>2006-08-10 06:56:51 -0400
commit79ed35a9f139ad2b2653dfdd5f45a8f1453e2cbb (patch)
tree1f97c3bfd3ae9995a1e396c5a6c02bf5a346b55c /drivers/scsi/ahci.c
parent6a2e42ad0f7ac0f4093b96ed0c6744f09bdfce1d (diff)
parentb7887196e38da54ff893897b80875d632d1a1114 (diff)
Merge branch 'tj-upstream-pci_register_driver' of git://htj.dyndns.org/libata-tj into upstream
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r--drivers/scsi/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c
index 68fd7667a082..813031c01fba 100644
--- a/drivers/scsi/ahci.c
+++ b/drivers/scsi/ahci.c
@@ -1665,7 +1665,7 @@ static void ahci_remove_one (struct pci_dev *pdev)
static int __init ahci_init(void)
{
- return pci_module_init(&ahci_pci_driver);
+ return pci_register_driver(&ahci_pci_driver);
}
static void __exit ahci_exit(void)