summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2018-03-13 09:33:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-03-23 07:35:24 +0100
commitdc16077260f59df5d22b02c189a4187c27cc3367 (patch)
tree0434f846c0c14171c6b7fdf9997c6fcb7a425c33 /include
parent65a644388e845bde01215bf378d4df2a6a260a6a (diff)
downloadbarebox-dc16077260f59df5d22b02c189a4187c27cc3367.tar.gz
barebox-dc16077260f59df5d22b02c189a4187c27cc3367.tar.xz
watchdog: move max timeout test in to wd_core
this also will be needed for watchdog poller as well Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/watchdog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/watchdog.h b/include/watchdog.h
index 75964178b1..a2459d2551 100644
--- a/include/watchdog.h
+++ b/include/watchdog.h
@@ -19,6 +19,7 @@ struct watchdog {
struct device_d *hwdev;
struct device_d dev;
unsigned int priority;
+ unsigned int timeout_max;
struct list_head list;
};