aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/jz4740_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/jz4740_wdt.c')
-rw-r--r--drivers/watchdog/jz4740_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index 28af416c3fbf..978615ef899d 100644
--- a/drivers/watchdog/jz4740_wdt.c
+++ b/drivers/watchdog/jz4740_wdt.c
@@ -109,6 +109,7 @@ static int jz4740_wdt_set_timeout(struct watchdog_device *wdt_dev,
109 109
110 writeb(0x1, drvdata->base + JZ_REG_WDT_COUNTER_ENABLE); 110 writeb(0x1, drvdata->base + JZ_REG_WDT_COUNTER_ENABLE);
111 111
112 wdt_dev->timeout = new_timeout;
112 return 0; 113 return 0;
113} 114}
114 115