From: Felipe Balbi <felipe.balbi@xxxxxxxxx> fix compile breakage on retu-wdt driver. Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx> --- drivers/cbus/retu-wdt.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.0.rc0.33.g7c3932 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html