]> git.neil.brown.name Git - history.git/commitdiff
[WATCHDOG] pcwd_pci-register-driver-patch
authorWim Van Sebroeck <wim@iguana.be>
Tue, 15 Mar 2005 21:53:50 +0000 (22:53 +0100)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 15 Mar 2005 21:53:50 +0000 (22:53 +0100)
convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/pcwd_pci.c

index 7216e4836193fd87b1d77266f4ad516c8bde6518..8ce0666273265cd4d01471ac64859742a8120b27 100644 (file)
@@ -48,8 +48,8 @@
 #include <asm/io.h>
 
 /* Module and version information */
-#define WATCHDOG_VERSION "1.00"
-#define WATCHDOG_DATE "12 Jun 2004"
+#define WATCHDOG_VERSION "1.01"
+#define WATCHDOG_DATE "15 Mar 2005"
 #define WATCHDOG_DRIVER_NAME "PCI-PC Watchdog"
 #define WATCHDOG_NAME "pcwd_pci"
 #define PFX WATCHDOG_NAME ": "
@@ -659,7 +659,7 @@ static int __init pcipcwd_init_module(void)
 {
        spin_lock_init (&pcipcwd_private.io_lock);
 
-       return pci_module_init(&pcipcwd_driver);
+       return pci_register_driver(&pcipcwd_driver);
 }
 
 static void __exit pcipcwd_cleanup_module(void)