From eb63740ad145546e4d84c4854b9df7fb8eb8a1a6 Mon Sep 17 00:00:00 2001 From: Wim Van Sebroeck Date: Tue, 15 Mar 2005 22:53:50 +0100 Subject: [PATCH] [WATCHDOG] pcwd_pci-register-driver-patch convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Wim Van Sebroeck --- drivers/char/watchdog/pcwd_pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/watchdog/pcwd_pci.c b/drivers/char/watchdog/pcwd_pci.c index 7216e4836193..8ce066627326 100644 --- a/drivers/char/watchdog/pcwd_pci.c +++ b/drivers/char/watchdog/pcwd_pci.c @@ -48,8 +48,8 @@ #include /* 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) -- 2.39.5