aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid.c
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2007-02-13 19:40:39 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-02-16 10:41:45 -0500
commit4520b0089b41151ab3cc3ae1ee92d0aa19d88aae (patch)
treeccc1acaa69f1a49a7072d99e34d64a11be3d0f1c /drivers/scsi/megaraid.c
parent930e99bd1320d78c7d8866595e81b8fc7dc8739b (diff)
[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/scsi/megaraid.c')
-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 808a1b8c4043..0aa3304f6b9b 100644
--- a/drivers/scsi/megaraid.c
+++ b/drivers/scsi/megaraid.c
@@ -5072,7 +5072,7 @@ static int __init megaraid_init(void)
5072 "megaraid: failed to create megaraid root\n"); 5072 "megaraid: failed to create megaraid root\n");
5073 } 5073 }
5074#endif 5074#endif
5075 error = pci_module_init(&megaraid_pci_driver); 5075 error = pci_register_driver(&megaraid_pci_driver);
5076 if (error) { 5076 if (error) {
5077#ifdef CONFIG_PROC_FS 5077#ifdef CONFIG_PROC_FS
5078 remove_proc_entry("megaraid", &proc_root); 5078 remove_proc_entry("megaraid", &proc_root);