summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2007-02-14 01:40:39 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-02-16 09:41:45 -0600
commit4520b0089b41151ab3cc3ae1ee92d0aa19d88aae (patch)
treeccc1acaa69f1a49a7072d99e34d64a11be3d0f1c /drivers
parent930e99bd1320d78c7d8866595e81b8fc7dc8739b (diff)
downloadlinux-3.10-4520b0089b41151ab3cc3ae1ee92d0aa19d88aae.tar.gz
linux-3.10-4520b0089b41151ab3cc3ae1ee92d0aa19d88aae.tar.bz2
linux-3.10-4520b0089b41151ab3cc3ae1ee92d0aa19d88aae.zip
[SCSI] megaraid: pci_module_init to pci_register_driver
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Acked-by: "Patro, Sumant" <Sumant.Patro@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/megaraid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index 808a1b8c404..0aa3304f6b9 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -5072,7 +5072,7 @@ static int __init megaraid_init(void)
"megaraid: failed to create megaraid root\n");
}
#endif
- error = pci_module_init(&megaraid_pci_driver);
+ error = pci_register_driver(&megaraid_pci_driver);
if (error) {
#ifdef CONFIG_PROC_FS
remove_proc_entry("megaraid", &proc_root);