[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>
This commit is contained in:
@ -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",
|
||||
};
|
||||
|
Reference in New Issue
Block a user