Commit ede2f628 authored by Christophe Lucas's avatar Christophe Lucas Committed by Linus Torvalds

[PATCH] pcmcia: pd6729 - convert to pci_register_driver()

convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).
Signed-off-by: default avatarChristophe Lucas <c.lucas@ifrance.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3a1bd224
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment