[PATCH] drivers/pcmcia/*: convert to pci_register_driver

Christophe Lucas c.lucas at ifrance.com
Tue Feb 8 10:25:31 EST 2005


Hi,

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

Signed-off-by: Christophe Lucas <c.lucas at ifrance.com>
-- 
Christophe
-------------- next part --------------
diff -urpN -X /work/users/dontdiff linux-2.6.11-rc3-vanilla/drivers/pcmcia/pd6729.c linux-2.6.11-rc3/drivers/pcmcia/pd6729.c
--- linux-2.6.11-rc3-vanilla/drivers/pcmcia/pd6729.c	2005-02-03 17:03:53.000000000 +0100
+++ linux-2.6.11-rc3/drivers/pcmcia/pd6729.c	2005-02-07 09:40:29.000000000 +0100
@@ -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)


More information about the linux-pcmcia mailing list