diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-23 15:43:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-23 15:43:30 +0000 |
commit | c3ae8337f4aa4a882b717ba73e8a25a70ddf9f43 (patch) | |
tree | 95f69be3ad12566bb28d628469901aa799f0b9fa /target/linux/ar7/files/drivers/char | |
parent | a361a8101cd4705f1809c491ed42c3571a0ade11 (diff) | |
download | mtk-20170518-c3ae8337f4aa4a882b717ba73e8a25a70ddf9f43.zip mtk-20170518-c3ae8337f4aa4a882b717ba73e8a25a70ddf9f43.tar.gz mtk-20170518-c3ae8337f4aa4a882b717ba73e8a25a70ddf9f43.tar.bz2 |
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
Diffstat (limited to 'target/linux/ar7/files/drivers/char')
-rw-r--r-- | target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 cdaab8c..97cd810 100644 --- 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; |