aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/watchdog.h
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2011-07-22 14:59:17 -0400
committerWim Van Sebroeck <wim@iguana.be>2011-07-28 04:01:14 -0400
commit7e192b9c4234d29bdc20ac8d0a67edf7624b4206 (patch)
treed46f8208ce67391166e8fbdcc3fe92e6ee01ea3c /include/linux/watchdog.h
parent017cf0805105496ab1880e236cb3e4bf156fb915 (diff)
watchdog: WatchDog Timer Driver Core - Add nowayout feature
Add support for the nowayout feature to the WatchDog Timer Driver Core framework. This feature prevents the watchdog timer from being stopped. 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>
Diffstat (limited to 'include/linux/watchdog.h')
-rw-r--r--include/linux/watchdog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h
index e9881ca2452b..f719883c5141 100644
--- a/include/linux/watchdog.h
+++ b/include/linux/watchdog.h
@@ -113,6 +113,7 @@ struct watchdog_device {
113#define WDOG_ACTIVE 0 /* Is the watchdog running/active */ 113#define WDOG_ACTIVE 0 /* Is the watchdog running/active */
114#define WDOG_DEV_OPEN 1 /* Opened via /dev/watchdog ? */ 114#define WDOG_DEV_OPEN 1 /* Opened via /dev/watchdog ? */
115#define WDOG_ALLOW_RELEASE 2 /* Did we receive the magic char ? */ 115#define WDOG_ALLOW_RELEASE 2 /* Did we receive the magic char ? */
116#define WDOG_NO_WAY_OUT 3 /* Is 'nowayout' feature set ? */
116}; 117};
117 118
118/* Use the following functions to manipulate watchdog driver specific data */ 119/* Use the following functions to manipulate watchdog driver specific data */