watchdog: nowayout is bool
[linux-2.6-block.git] / drivers / watchdog / at91sam9_wdt.c
index cf39847bbad3c3bed2dd3d2e5faaff83960b13ff..05e1be85fdeeda07a21651ee1a4096bf6b77c06d 100644 (file)
@@ -62,8 +62,8 @@ module_param(heartbeat, int, 0);
 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. "
        "(default = " __MODULE_STRING(WDT_HEARTBEAT) ")");
 
-static int nowayout = WATCHDOG_NOWAYOUT;
-module_param(nowayout, int, 0);
+static bool nowayout = WATCHDOG_NOWAYOUT;
+module_param(nowayout, bool, 0);
 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started "
        "(default=" __MODULE_STRING(WATCHDOG_NOWAYOUT) ")");