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/sata_nv.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/sata_nv.c')
-rw-r--r-- | drivers/scsi/sata_nv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_nv.c b/drivers/scsi/sata_nv.c index 56da25581f31..be46df75ab5a 100644 --- a/drivers/scsi/sata_nv.c +++ b/drivers/scsi/sata_nv.c | |||
@@ -583,7 +583,7 @@ static void nv_ck804_host_stop(struct ata_host_set *host_set) | |||
583 | 583 | ||
584 | static int __init nv_init(void) | 584 | static int __init nv_init(void) |
585 | { | 585 | { |
586 | return pci_module_init(&nv_pci_driver); | 586 | return pci_register_driver(&nv_pci_driver); |
587 | } | 587 | } |
588 | 588 | ||
589 | static void __exit nv_exit(void) | 589 | static void __exit nv_exit(void) |