diff options
Diffstat (limited to 'drivers/watchdog')
| -rw-r--r-- | drivers/watchdog/xilinx_tb_wdt.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/drivers/watchdog/xilinx_tb_wdt.c b/drivers/watchdog/xilinx_tb_wdt.c index 4e46e4cef..6336c9488 100644 --- a/drivers/watchdog/xilinx_tb_wdt.c +++ b/drivers/watchdog/xilinx_tb_wdt.c @@ -54,7 +54,7 @@ static void hw_watchdog_isr(void *arg)  	hw_watchdog_reset();  } -int hw_watchdog_init(void) +void hw_watchdog_init(void)  {  	int ret; @@ -65,7 +65,5 @@ int hw_watchdog_init(void)  	ret = install_interrupt_handler(CONFIG_WATCHDOG_IRQ,  						hw_watchdog_isr, NULL);  	if (ret) -		return 1; - -	return 0; +		puts("Watchdog IRQ registration failed.");  } |