Messages in this thread | | | Date | Fri, 25 Feb 2011 10:49:28 +0100 | From | Wim Van Sebroeck <> | Subject | Re: [RFC] [PATCH 3/10] Generic Watchdog Timer Driver |
| |
Hi Mike,
>> diff --git a/drivers/watchdog/core/watchdog_dev.c b/drivers/watchdog/core/watchdog_dev.c >> index ad08a93..0d2ed1d 100644 >> --- a/drivers/watchdog/core/watchdog_dev.c >> +++ b/drivers/watchdog/core/watchdog_dev.c >> @@ -151,6 +151,11 @@ static long watchdog_ioctl(struct file *file, unsigned int cmd, >> return put_user(val, p); >> case WDIOC_GETBOOTSTATUS: >> return put_user(wdd->bootstatus, p); >> + case WDIOC_KEEPALIVE: >> + if (!(wdd->info->options& WDIOF_MAGICCLOSE)) > > Is this meant to be WDIOF_KEEPALIVEPING ?
Yes it is. Fixed this in my code.
Thanks, Wim.
| |