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/at91sam9_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/at91sam9_wdt.c')
-rw-r--r-- | drivers/watchdog/at91sam9_wdt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c index 435b0573fb0a..eac26021e8da 100644 --- a/drivers/watchdog/at91sam9_wdt.c +++ b/drivers/watchdog/at91sam9_wdt.c | |||
@@ -156,7 +156,8 @@ static int at91_wdt_settimeout(unsigned int timeout) | |||
156 | 156 | ||
157 | static const struct watchdog_info at91_wdt_info = { | 157 | static const struct watchdog_info at91_wdt_info = { |
158 | .identity = DRV_NAME, | 158 | .identity = DRV_NAME, |
159 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING, | 159 | .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | |
160 | WDIOF_MAGICCLOSE, | ||
160 | }; | 161 | }; |
161 | 162 | ||
162 | /* | 163 | /* |