watchdog: hpwdt: Add support for WDIOC_SETOPTIONS
authorJean Delvare <jdelvare@suse.de>
Sun, 21 Jun 2015 07:32:33 +0000 (09:32 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 22 Jun 2015 13:54:36 +0000 (15:54 +0200)
commit46c80b20d07e9309677d81e1226dc30a055b63b7
tree7dee31b813cf2bf913a78d9f24a7fee8b3daa3bb
parenta47911e99fe8d2080426951711a7e776d331ba77
watchdog: hpwdt: Add support for WDIOC_SETOPTIONS

WDIOC_SETOPTIONS makes it possible to disable and re-enable the
watchdog timer while the hpwdt driver is loaded.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/hpwdt.c