]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: WatchDog Timer Driver Core - Add minimum and max timeout
authorWim Van Sebroeck <wim@iguana.be>
Fri, 22 Jul 2011 19:00:16 +0000 (19:00 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 22 Jul 2011 19:00:16 +0000 (19:00 +0000)
commit653a07ac90431ceec05e2e1bfc1dff5465394909
tree35e635698bd4992880917106b50d2b7568b708d5
parent5d376ab21ff8c3108d67819371a149a6f6e2a038
watchdog: WatchDog Timer Driver Core - Add minimum and max timeout

Add min_timeout (minimum timeout) and max_timeout
values so that the framework can check if the new
timeout value is between the minimum and maximum
timeout values. If both values are 0, then the
framework will leave the check for the watchdog
device driver itself.

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Documentation/watchdog/watchdog-kernel-api.txt
drivers/watchdog/watchdog_core.c
drivers/watchdog/watchdog_dev.c
include/linux/watchdog.h