
From: Domen Puncer <domen@coderock.org>

convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/drivers/message/fusion/mptbase.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/message/fusion/mptbase.c~drivers-message-fusion-convert-to-pci_register_driver drivers/message/fusion/mptbase.c
--- 25/drivers/message/fusion/mptbase.c~drivers-message-fusion-convert-to-pci_register_driver	2005-03-06 19:57:44.000000000 -0800
+++ 25-akpm/drivers/message/fusion/mptbase.c	2005-03-06 19:57:44.000000000 -0800
@@ -5913,7 +5913,7 @@ fusion_init(void)
 #ifdef CONFIG_PROC_FS
 	(void) procmpt_create();
 #endif
-	r = pci_module_init(&mptbase_driver);
+	r = pci_register_driver(&mptbase_driver);
 	if(r)
 		return(r);
 
_
