diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-10-23 18:56:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-29 10:23:43 +0100 |
commit | 9ba3943ce613c179740957e85405b4c832323ddb (patch) | |
tree | 079d2e75e55bb80dfa6e85d35491a13ff028b100 /commands/barebox-update.c | |
parent | c2d167823588708c9f8f68c7db111ce146e19e3f (diff) | |
download | barebox-9ba3943ce613c179740957e85405b4c832323ddb.tar.gz barebox-9ba3943ce613c179740957e85405b4c832323ddb.tar.xz |
watchdog: export API to configure watchdogs by name
So far watchdog users could only configure the watchdog with the highest
priority. In preparation for having the wd command configure a watchdog
by name, extend watchdog_set_timeout with a struct watchdog *parameter
and export functions to query default watchdog and to find watchdog by
name.
No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/barebox-update.c')
0 files changed, 0 insertions, 0 deletions