[WATCHDOG] s3c24XX nowayout
authorBen Dooks <ben-linux@fluff.org>
Wed, 6 Sep 2006 11:24:35 +0000 (12:24 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 2 Oct 2006 21:07:18 +0000 (23:07 +0200)
commit25ff3780d4cd46804e22192a728cfb6b33c84d1b
treee7c1c2c9d936ba973fd77a202ce2d7a71c277f02
parent65a64ec3b4fc904932b832c53e5a86d56b972682
[WATCHDOG] s3c24XX nowayout

If the driver is not configured for `no way out`,
then the open method should not automatically allow
the setting of allow_close to CLOSE_STATE_ALLOW.

The setting of allow_close nullifies the use of
the magic close via the write path. It means that
in the default state, the watchdog will shut-down
even if the magic close has not been issued.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/char/watchdog/s3c2410_wdt.c