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/sbc_epx_c3.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/sbc_epx_c3.c')
-rw-r--r-- | drivers/watchdog/sbc_epx_c3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/watchdog/sbc_epx_c3.c b/drivers/watchdog/sbc_epx_c3.c index af118a142e95..28f1214457bd 100644 --- a/drivers/watchdog/sbc_epx_c3.c +++ b/drivers/watchdog/sbc_epx_c3.c | |||
@@ -107,8 +107,7 @@ static long epx_c3_ioctl(struct file *file, unsigned int cmd, | |||
107 | int options, retval = -EINVAL; | 107 | int options, retval = -EINVAL; |
108 | int __user *argp = (void __user *)arg; | 108 | int __user *argp = (void __user *)arg; |
109 | static const struct watchdog_info ident = { | 109 | static const struct watchdog_info ident = { |
110 | .options = WDIOF_KEEPALIVEPING | | 110 | .options = WDIOF_KEEPALIVEPING, |
111 | WDIOF_MAGICCLOSE, | ||
112 | .firmware_version = 0, | 111 | .firmware_version = 0, |
113 | .identity = "Winsystems EPX-C3 H/W Watchdog", | 112 | .identity = "Winsystems EPX-C3 H/W Watchdog", |
114 | }; | 113 | }; |