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/ata_piix.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/ata_piix.c')
-rw-r--r-- | drivers/scsi/ata_piix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c index 501755a606ed..46c34fd5af8f 100644 --- a/drivers/scsi/ata_piix.c +++ b/drivers/scsi/ata_piix.c | |||
@@ -939,8 +939,8 @@ static int __init piix_init(void) | |||
939 | { | 939 | { |
940 | int rc; | 940 | int rc; |
941 | 941 | ||
942 | DPRINTK("pci_module_init\n"); | 942 | DPRINTK("pci_register_driver\n"); |
943 | rc = pci_module_init(&piix_pci_driver); | 943 | rc = pci_register_driver(&piix_pci_driver); |
944 | if (rc) | 944 | if (rc) |
945 | return rc; | 945 | return rc; |
946 | 946 | ||