summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sb_wdog.c
diff options
context:
space:
mode:
authorWim Van Sebroeck2009-05-11 20:33:00 +0200
committerWim Van Sebroeck2009-06-18 09:30:57 +0200
commite73a780272a46e897bd94a4870fd6b6a8655d2d4 (patch)
tree514890ee239af2ddd97a0ac130df6af11013dcf0 /drivers/watchdog/sb_wdog.c
parent[WATCHDOG] move platform probe and remove function to devinit and devexit (diff)
downloadkernel-qcow2-linux-e73a780272a46e897bd94a4870fd6b6a8655d2d4.tar.gz
kernel-qcow2-linux-e73a780272a46e897bd94a4870fd6b6a8655d2d4.tar.xz
kernel-qcow2-linux-e73a780272a46e897bd94a4870fd6b6a8655d2d4.zip
[WATCHDOG] Correct WDIOF_MAGICCLOSE flag
Make sure that when the WDIOF_MAGICCLOSE flag is set we also support the magic-close feature... Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/sb_wdog.c')
-rw-r--r--drivers/watchdog/sb_wdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/sb_wdog.c b/drivers/watchdog/sb_wdog.c
index bc3d68f99ddb..9748eed73196 100644
--- a/drivers/watchdog/sb_wdog.c
+++ b/drivers/watchdog/sb_wdog.c
@@ -93,7 +93,7 @@ static int expect_close;
static const struct watchdog_info ident = {
.options = WDIOF_CARDRESET | WDIOF_SETTIMEOUT |
- WDIOF_KEEPALIVEPING,
+ WDIOF_KEEPALIVEPING | WDIOF_MAGICCLOSE,
.identity = "SiByte Watchdog",
};