[Linux-parport] [patch 4/4] drivers/parport/*: convert to pci_register_driver

domen at coderock.org domen at coderock.org
Mon Jun 20 17:54:53 EDT 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: Domen Puncer <domen at coderock.org>
---
 parport_serial.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: quilt/drivers/parport/parport_serial.c
===================================================================
--- quilt.orig/drivers/parport/parport_serial.c
+++ quilt/drivers/parport/parport_serial.c
@@ -468,7 +468,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