[PATCH 11/11] PCMCIA: replace all uses of pci_module_init with pci_register_driver

From: Otavio Salvador
Date: Sat Dec 03 2005 - 10:57:52 EST


This patch replace all calls to pci_module_init, that's deprecated and
will be removed in future, with pci_register_driver that should be
the used function now.

Signed-off-by: Otavio Salvador <otavio@xxxxxxxxxx>


---

drivers/pcmcia/vrc4173_cardu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: 7afc415186e22eea7e883c3885c692b91fda89e8
e52dc116e670cedc89ad7f4f6b5b9948022f272d
diff --git a/drivers/pcmcia/vrc4173_cardu.c b/drivers/pcmcia/vrc4173_cardu.c
index db91259..a64c4d5 100644
--- a/drivers/pcmcia/vrc4173_cardu.c
+++ b/drivers/pcmcia/vrc4173_cardu.c
@@ -604,7 +604,7 @@ static int __devinit vrc4173_cardu_init(
{
vrc4173_cardu_slots = 0;

- return pci_module_init(&vrc4173_cardu_driver);
+ return pci_register_driver(&vrc4173_cardu_driver);
}

static void __devexit vrc4173_cardu_exit(void)
---
0.99.9k


-
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/