diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2018-03-13 09:33:27 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-23 07:35:25 +0100 |
commit | 10e3166076f7de31126761aa0e271415d9b9a023 (patch) | |
tree | 0eb045271fbd9c804b9ddd87b3dac3ed7d9ccf57 /include/watchdog.h | |
parent | e22f2aa1671159b2a5dfc276f2bd913aa3e1022e (diff) | |
download | barebox-10e3166076f7de31126761aa0e271415d9b9a023.tar.gz barebox-10e3166076f7de31126761aa0e271415d9b9a023.tar.xz |
watchdog: provide timeout_cur value
timeout_cur will be used for watchdog poller.
Provided values should be good enough for most users
and still can be changed for separate projects and
fit to needed requirements.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/watchdog.h')
-rw-r--r-- | include/watchdog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/watchdog.h b/include/watchdog.h index a2459d2551..2f1874c196 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -20,6 +20,7 @@ struct watchdog { struct device_d dev; unsigned int priority; unsigned int timeout_max; + unsigned int timeout_cur; struct list_head list; }; |