summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sbc_epx_c3.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2009-05-11 18:33:00 +0000
committerWim Van Sebroeck <wim@iguana.be>2009-06-18 07:30:57 +0000
commite73a780272a46e897bd94a4870fd6b6a8655d2d4 (patch)
tree514890ee239af2ddd97a0ac130df6af11013dcf0 /drivers/watchdog/sbc_epx_c3.c
parentb6bf291f1c5bc84272a138b7367741e459005a81 (diff)
downloadlwn-e73a780272a46e897bd94a4870fd6b6a8655d2d4.tar.gz
lwn-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/sbc_epx_c3.c')
-rw-r--r--drivers/watchdog/sbc_epx_c3.c3
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,
int options, retval = -EINVAL;
int __user *argp = (void __user *)arg;
static const struct watchdog_info ident = {
- .options = WDIOF_KEEPALIVEPING |
- WDIOF_MAGICCLOSE,
+ .options = WDIOF_KEEPALIVEPING,
.firmware_version = 0,
.identity = "Winsystems EPX-C3 H/W Watchdog",
};