Message ID | 1270656268-7034-15-git-send-email-felipe.balbi@nokia.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Tony Lindgren |
Headers | show |
diff --git a/drivers/cbus/retu-wdt.c b/drivers/cbus/retu-wdt.c index 35932dd..380fae6 100644 --- a/drivers/cbus/retu-wdt.c +++ b/drivers/cbus/retu-wdt.c @@ -243,7 +243,6 @@ static int __init retu_wdt_ping(void) return 0; } -late_initcall(retu_wdt_ping); static const struct file_operations retu_wdt_fops = { .owner = THIS_MODULE, @@ -369,7 +368,8 @@ static int __init retu_wdt_init(void) } printk(KERN_INFO "Retu watchdog driver initialized\n"); - return ret; + + return retu_wdt_ping(); exit1: driver_unregister(&retu_wdt_driver);