projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AR7 watchdog supports magic close
[openwrt/openwrt.git]
/
target
/
linux
/
ar7
/
files
/
drivers
/
char
/
watchdog
/
ar7_wdt.c
diff --git
a/target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c
b/target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c
index cdaab8c3d3d06e1ae1288fef3bf39207dd8284ba..97cd8105a977c537b429326822155a33d0663f8f 100644
(file)
--- a/
target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c
+++ b/
target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c
@@
-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;