summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sandbox/board/watchdog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sandbox/board/watchdog.c b/arch/sandbox/board/watchdog.c
index 336451282f..e1cff7a0bf 100644
--- a/arch/sandbox/board/watchdog.c
+++ b/arch/sandbox/board/watchdog.c
@@ -29,7 +29,8 @@ static int sandbox_watchdog_set_timeout(struct watchdog *wdd, unsigned int timeo
if (timeout > wdd->timeout_max)
return -EINVAL;
- return linux_watchdog_set_timeout(timeout);
+ linux_watchdog_set_timeout(timeout);
+ return 0;
}
static int sandbox_watchdog_probe(struct device_d *dev)