[patches 2/12] pcmcia: pd6729 - convert to pci_register_driver()
Dominik Brodowski
linux at dominikbrodowski.net
Thu Feb 10 14:47:02 EST 2005
From: Christophe Lucas <c.lucas at ifrance.com>
convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).
Signed-off-by: Christophe Lucas <c.lucas at ifrance.com>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
drivers/pcmcia/pd6729.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: 2.6.11-rc3+/drivers/pcmcia/pd6729.c
===================================================================
--- 2.6.11-rc3+.orig/drivers/pcmcia/pd6729.c 2005-02-09 21:47:36.000000000 +0100
+++ 2.6.11-rc3+/drivers/pcmcia/pd6729.c 2005-02-09 22:31:00.000000000 +0100
@@ -865,7 +865,7 @@
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