[patch 14/14] drivers/message/fusion/*: convert to pci_register_driver

From: domen
Date: Sun Mar 06 2005 - 18:58:52 EST



convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@xxxxxxxxxxx>
Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
---


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

diff -puN drivers/message/fusion/mptbase.c~pci_register_driver-drivers_message_fusion drivers/message/fusion/mptbase.c
--- kj/drivers/message/fusion/mptbase.c~pci_register_driver-drivers_message_fusion 2005-03-05 16:12:30.000000000 +0100
+++ kj-domen/drivers/message/fusion/mptbase.c 2005-03-05 16:12:30.000000000 +0100
@@ -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);

_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/