linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] megaraid.c: Convert pci_module_init() to pci_register_driver()
@ 2007-01-12 13:31 Richard Knutsson
  0 siblings, 0 replies; only message in thread
From: Richard Knutsson @ 2007-01-12 13:31 UTC (permalink / raw)
  To: Neela.Kolli; +Cc: linux-scsi

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
PS
The mailing-list is marked as S: instead of L:
DS

diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c
index 77d9d38..4fd4960 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);



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-12 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12 13:31 [PATCH] megaraid.c: Convert pci_module_init() to pci_register_driver() Richard Knutsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).