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 /drivers/char/ipmi/ipmi_watchdog.c | |
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 'drivers/char/ipmi/ipmi_watchdog.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_watchdog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c index 34767a6d7f42..020a6aec2d86 100644 --- a/drivers/char/ipmi/ipmi_watchdog.c +++ b/drivers/char/ipmi/ipmi_watchdog.c | |||
@@ -153,7 +153,7 @@ | |||
153 | #endif | 153 | #endif |
154 | 154 | ||
155 | static DEFINE_MUTEX(ipmi_watchdog_mutex); | 155 | static DEFINE_MUTEX(ipmi_watchdog_mutex); |
156 | static int nowayout = WATCHDOG_NOWAYOUT; | 156 | static bool nowayout = WATCHDOG_NOWAYOUT; |
157 | 157 | ||
158 | static ipmi_user_t watchdog_user; | 158 | static ipmi_user_t watchdog_user; |
159 | static int watchdog_ifnum; | 159 | static int watchdog_ifnum; |
@@ -320,7 +320,7 @@ module_param(start_now, int, 0444); | |||
320 | MODULE_PARM_DESC(start_now, "Set to 1 to start the watchdog as" | 320 | MODULE_PARM_DESC(start_now, "Set to 1 to start the watchdog as" |
321 | "soon as the driver is loaded."); | 321 | "soon as the driver is loaded."); |
322 | 322 | ||
323 | module_param(nowayout, int, 0644); | 323 | module_param(nowayout, bool, 0644); |
324 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started " | 324 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started " |
325 | "(default=CONFIG_WATCHDOG_NOWAYOUT)"); | 325 | "(default=CONFIG_WATCHDOG_NOWAYOUT)"); |
326 | 326 | ||