watchdog: WatchDog Timer Driver Core - Add minimum and max timeout
commit3f43f68e29f1dcb853d70280c7412fc0ef9a0da6
authorWim Van Sebroeck <wim@iguana.be>
Fri, 22 Jul 2011 19:00:16 +0000 (22 19:00 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 28 Jul 2011 08:01:18 +0000 (28 08:01 +0000)
tree7954a552341a37163d0ebe2c975bfe002e2abbd3
parent78d88fc01202b088573c962e2885556a5e99bf74
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