
From: Christophe Lucas <c.lucas@ifrance.com>

convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/drivers/pcmcia/pd6729.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/pcmcia/pd6729.c~pcmcia-pd6729-convert-to-pci_register_driver drivers/pcmcia/pd6729.c
--- 25/drivers/pcmcia/pd6729.c~pcmcia-pd6729-convert-to-pci_register_driver	Sun Mar  6 17:28:01 2005
+++ 25-akpm/drivers/pcmcia/pd6729.c	Sun Mar  6 17:28:01 2005
@@ -865,7 +865,7 @@ static struct pci_driver pd6729_pci_drv 
 
 static int pd6729_module_init(void)
 {
-	return pci_module_init(&pd6729_pci_drv);
+	return pci_register_driver(&pd6729_pci_drv);
 }
 
 static void pd6729_module_exit(void)
_
