diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-02-28 13:12:14 -0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2016-03-16 21:11:07 +0100 |
commit | fb32e9b9deeb5df2913deb7d2ae8c36f4f66ecf3 (patch) | |
tree | 26c4b592457a48ae5d175ece5aa37f1b94fb7f47 /block/Kconfig.iosched | |
parent | e21f56219bf636b4abd15a0b076a1c5cba381501 (diff) | |
download | linux-fb32e9b9deeb5df2913deb7d2ae8c36f4f66ecf3.tar.gz linux-fb32e9b9deeb5df2913deb7d2ae8c36f4f66ecf3.tar.bz2 linux-fb32e9b9deeb5df2913deb7d2ae8c36f4f66ecf3.zip |
watchdog: Make set_timeout function optional
For some watchdogs, the watchdog driver handles timeout changes without
explicitly setting any registers. In this situation, the watchdog driver
might only set the 'timeout' variable but do nothing else.
This can as well be handled by the infrastructure, so make the set_timeout
callback optional. If WDIOF_SETTIMEOUT is configured but the .set_timeout
callback is not available, update the timeout variable in the
infrastructure code.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'block/Kconfig.iosched')
0 files changed, 0 insertions, 0 deletions