diff options
author | Pavel Roskin <proski@gnu.org> | 2006-08-10 05:13:18 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-08-10 05:13:18 -0400 |
commit | b7887196e38da54ff893897b80875d632d1a1114 (patch) | |
tree | 6cba2112e9058fc67f30edab5baa0fc606b61115 /drivers/scsi/ahci.c | |
parent | 4852ba24f647199be797545226c6d325db231937 (diff) |
[PATCH] libata: replace pci_module_init() with pci_register_driver()
Replace pci_module_init() with pci_register_driver().
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r-- | drivers/scsi/ahci.c | 2 |
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) | |||
1665 | 1665 | ||
1666 | static int __init ahci_init(void) | 1666 | static int __init ahci_init(void) |
1667 | { | 1667 | { |
1668 | return pci_module_init(&ahci_pci_driver); | 1668 | return pci_register_driver(&ahci_pci_driver); |
1669 | } | 1669 | } |
1670 | 1670 | ||
1671 | static void __exit ahci_exit(void) | 1671 | static void __exit ahci_exit(void) |