aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/watchdog.h
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2011-07-22 14:58:54 -0400
committerWim Van Sebroeck <wim@iguana.be>2011-07-28 04:01:12 -0400
commit017cf0805105496ab1880e236cb3e4bf156fb915 (patch)
treef6889e009ddba78c5c5d1965d0dae77f4fb5edd8 /include/linux/watchdog.h
parent014d694e5d59e4219803cd14deaae496d86e4910 (diff)
watchdog: WatchDog Timer Driver Core - Add Magic Close feature
Add support for the Magic Close feature to the WatchDog Timer Driver Core framework. 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 9f33efe199d1..e9881ca2452b 100644
--- a/include/linux/watchdog.h
+++ b/include/linux/watchdog.h
@@ -112,6 +112,7 @@ struct watchdog_device {
112/* Bit numbers for status flags */ 112/* Bit numbers for status flags */
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}; 116};
116 117
117/* Use the following functions to manipulate watchdog driver specific data */ 118/* Use the following functions to manipulate watchdog driver specific data */