AR7 watchdog supports magic close
This patch adds the magic close flag (stopping the watchdog on an expected close by wrting 'V' to the device before closing it) to the watchdogs list, which the AR7 watchdog code actually supports. Signed-off-by: Axel Gembe <ago@bastart.eu.org> SVN-Revision: 12666
This commit is contained in:
parent
a361a8101c
commit
c3ae8337f4
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ static int ar7_wdt_ioctl(struct inode *inode, struct file *file,
|
|||
static struct watchdog_info ident = {
|
||||
.identity = LONGNAME,
|
||||
.firmware_version = 1,
|
||||
.options = (WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING),
|
||||
.options = (WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE | WDIOF_KEEPALIVEPING),
|
||||
};
|
||||
int new_margin;
|
||||
|
||||
|
|
Loading…
Reference in a new issue