
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/eisa/pci_eisa.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/eisa/pci_eisa.c~drivers-eisa-convert-to-pci_register_driver drivers/eisa/pci_eisa.c
--- 25/drivers/eisa/pci_eisa.c~drivers-eisa-convert-to-pci_register_driver	2005-03-06 19:57:45.000000000 -0800
+++ 25-akpm/drivers/eisa/pci_eisa.c	2005-03-06 19:57:45.000000000 -0800
@@ -59,7 +59,7 @@ static struct pci_driver pci_eisa_driver
 
 static int __init pci_eisa_init_module (void)
 {
-	return pci_module_init (&pci_eisa_driver);
+	return pci_register_driver (&pci_eisa_driver);
 }
 
 device_initcall(pci_eisa_init_module);
_
