[Linux-parport] [patch 5/5] drivers/parport/*: convert to
pci_register_driver
domen at coderock.org
domen at coderock.org
Sun Mar 6 17:22:31 EST 2005
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: Domen Puncer <domen at coderock.org>
---
kj-domen/drivers/parport/parport_serial.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/parport/parport_serial.c~pci_register_driver-drivers_parport drivers/parport/parport_serial.c
--- kj/drivers/parport/parport_serial.c~pci_register_driver-drivers_parport 2005-03-05 16:12:45.000000000 +0100
+++ kj-domen/drivers/parport/parport_serial.c 2005-03-05 16:12:45.000000000 +0100
@@ -420,7 +420,7 @@ static struct pci_driver parport_serial_
static int __init parport_serial_init (void)
{
- return pci_module_init (&parport_serial_pci_driver);
+ return pci_register_driver (&parport_serial_pci_driver);
}
static void __exit parport_serial_exit (void)
_
More information about the Linux-parport
mailing list