git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930e99b
)
[SCSI] megaraid: pci_module_init to pci_register_driver
author
Richard Knutsson
<ricknu-0@student.ltu.se>
Wed, 14 Feb 2007 00:40:39 +0000
(
01:40
+0100)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Fri, 16 Feb 2007 15:41:45 +0000
(09:41 -0600)
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>
drivers/scsi/megaraid.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/megaraid.c
b/drivers/scsi/megaraid.c
index
808a1b8
..
0aa3304
100644
(file)
--- 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);