diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-10-24 17:24:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-29 10:23:43 +0100 |
commit | e1ef5d828320cec35232126497b1b8dd4c22d540 (patch) | |
tree | 58f9b88018b753863b2d5a75cd51c0a412bd6d03 /include | |
parent | 07dc9dfd190da4caaed828fd1e1b6b024133614f (diff) | |
download | barebox-e1ef5d828320cec35232126497b1b8dd4c22d540.tar.gz barebox-e1ef5d828320cec35232126497b1b8dd4c22d540.tar.xz |
watchdog: rename timeout_curr to poller_timeout_curr internally
timeout_curr is the timeout programmed into the watchdog hardware every
500 milliseconds. If watchdog poller support is disabled, it serves
no purpose, prefix it with poller_ to better communicate this fact.
No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/watchdog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/watchdog.h b/include/watchdog.h index 891a0920e4..184a218916 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -23,7 +23,7 @@ struct watchdog { struct device_d dev; unsigned int priority; unsigned int timeout_max; - unsigned int timeout_cur; + unsigned int poller_timeout_cur; unsigned int poller_enable; struct poller_async poller; struct list_head list; |