[patch 1/1] drivers/char/watchdog/*: convert to pci_register_driver

domen
2005-03-06T22:36:39Z

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>
---

kj-domen/drivers/char/watchdog/pcwd_pci.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/watchdog/pcwd_pci.c~pci_register_driver-drivers_char_watchdog drivers/char/watchdog/pcwd_pci.c
--- kj/drivers/char/watchdog/pcwd_pci.c~pci_register_driver-drivers_char_watchdog 2005-03-05 16:12:18.000000000 +0100
+++ kj-domen/drivers/char/watchdog/pcwd_pci.c 2005-03-05 16:12:18.000000000 +0100
@@ -659,7 +659,7 @@ static int __init pcipcwd_init_module(vo
{
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)
_