diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2011-07-22 18:57:55 +0000 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-07-28 08:01:09 +0000 |
commit | 234445b4e4542f3e0f216459245ab369a18adcf2 (patch) | |
tree | ed670bb2aa3eae41f00e5217fb786eaa9fbe6cb3 /include | |
parent | c2dc00e494cc476551b9beeb883910391ff59737 (diff) | |
download | op-kernel-dev-234445b4e4542f3e0f216459245ab369a18adcf2.zip op-kernel-dev-234445b4e4542f3e0f216459245ab369a18adcf2.tar.gz |
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')
-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 29ff808..db46fe8 100644 --- a/include/linux/watchdog.h +++ b/include/linux/watchdog.h @@ -106,6 +106,7 @@ struct watchdog_device { void *driver_data; unsigned long status; /* Bit numbers for status flags */ +#define WDOG_ACTIVE 0 /* Is the watchdog running/active */ #define WDOG_DEV_OPEN 1 /* Opened via /dev/watchdog ? */ }; |