summaryrefslogtreecommitdiff
path: root/drivers/scsi/sata_sil.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2006-08-10 18:13:18 +0900
committerTejun Heo <htejun@gmail.com>2006-08-10 18:13:18 +0900
commitb7887196e38da54ff893897b80875d632d1a1114 (patch)
tree6cba2112e9058fc67f30edab5baa0fc606b61115 /drivers/scsi/sata_sil.c
parent4852ba24f647199be797545226c6d325db231937 (diff)
downloadlwn-b7887196e38da54ff893897b80875d632d1a1114.tar.gz
lwn-b7887196e38da54ff893897b80875d632d1a1114.zip
[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_sil.c')
-rw-r--r--drivers/scsi/sata_sil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sil.c b/drivers/scsi/sata_sil.c
index d0a85073ebf7..2393379b2398 100644
--- a/drivers/scsi/sata_sil.c
+++ b/drivers/scsi/sata_sil.c
@@ -714,7 +714,7 @@ static int sil_pci_device_resume(struct pci_dev *pdev)
static int __init sil_init(void)
{
- return pci_module_init(&sil_pci_driver);
+ return pci_register_driver(&sil_pci_driver);
}
static void __exit sil_exit(void)