diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2012-03-05 10:51:11 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-03-27 14:06:02 -0400 |
commit | 86a1e1896c2710402e29a875d8d830244274244d (patch) | |
tree | 1b27f5107ec51e06921e510c67eeca47ba1b5a66 /include/linux/watchdog.h | |
parent | 27c766aaacb265d625dc634bf7903f7f9fd0c697 (diff) |
watchdog: nowayout is bool
nowayout is actually a boolean value.
So make it bool for all watchdog device drivers.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'include/linux/watchdog.h')
-rw-r--r-- | include/linux/watchdog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h index 43ba5b3ce2a3..de75167093bf 100644 --- a/include/linux/watchdog.h +++ b/include/linux/watchdog.h | |||
@@ -127,7 +127,7 @@ struct watchdog_device { | |||
127 | #endif | 127 | #endif |
128 | 128 | ||
129 | /* Use the following function to set the nowayout feature */ | 129 | /* Use the following function to set the nowayout feature */ |
130 | static inline void watchdog_set_nowayout(struct watchdog_device *wdd, int nowayout) | 130 | static inline void watchdog_set_nowayout(struct watchdog_device *wdd, bool nowayout) |
131 | { | 131 | { |
132 | if (nowayout) | 132 | if (nowayout) |
133 | set_bit(WDOG_NO_WAY_OUT, &wdd->status); | 133 | set_bit(WDOG_NO_WAY_OUT, &wdd->status); |