From c3ae8337f4aa4a882b717ba73e8a25a70ddf9f43 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 23 Sep 2008 15:43:30 +0000 Subject: 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 SVN-Revision: 12666 --- target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar7') 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; -- cgit v1.1