diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2011-07-22 14:57:55 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-07-28 04:01:09 -0400 |
commit | 234445b4e4542f3e0f216459245ab369a18adcf2 (patch) | |
tree | ed670bb2aa3eae41f00e5217fb786eaa9fbe6cb3 /include/linux/watchdog.h | |
parent | c2dc00e494cc476551b9beeb883910391ff59737 (diff) |
watchdog: WatchDog Timer Driver Core - Add WDIOC_SETOPTIONS ioctl
This part add's the WDIOC_SETOPTIONS ioctl functionality
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h index 29ff80807dd4..db46fe89563e 100644 --- a/include/linux/watchdog.h +++ b/include/linux/watchdog.h | |||
@@ -106,6 +106,7 @@ struct watchdog_device { | |||
106 | void *driver_data; | 106 | void *driver_data; |
107 | unsigned long status; | 107 | unsigned long status; |
108 | /* Bit numbers for status flags */ | 108 | /* Bit numbers for status flags */ |
109 | #define WDOG_ACTIVE 0 /* Is the watchdog running/active */ | ||
109 | #define WDOG_DEV_OPEN 1 /* Opened via /dev/watchdog ? */ | 110 | #define WDOG_DEV_OPEN 1 /* Opened via /dev/watchdog ? */ |
110 | }; | 111 | }; |
111 | 112 | ||