diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2009-05-11 14:33:00 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2009-06-18 03:30:57 -0400 |
commit | e73a780272a46e897bd94a4870fd6b6a8655d2d4 (patch) | |
tree | 514890ee239af2ddd97a0ac130df6af11013dcf0 /drivers/watchdog/ar7_wdt.c | |
parent | b6bf291f1c5bc84272a138b7367741e459005a81 (diff) |
[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/ar7_wdt.c')
-rw-r--r-- | drivers/watchdog/ar7_wdt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c index 55dcbfe2bb72..3fe9742c23ca 100644 --- a/drivers/watchdog/ar7_wdt.c +++ b/drivers/watchdog/ar7_wdt.c | |||
@@ -246,7 +246,8 @@ static long ar7_wdt_ioctl(struct file *file, | |||
246 | static struct watchdog_info ident = { | 246 | static struct watchdog_info ident = { |
247 | .identity = LONGNAME, | 247 | .identity = LONGNAME, |
248 | .firmware_version = 1, | 248 | .firmware_version = 1, |
249 | .options = (WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING), | 249 | .options = (WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | |
250 | WDIOF_MAGICCLOSE), | ||
250 | }; | 251 | }; |
251 | int new_margin; | 252 | int new_margin; |
252 | 253 | ||