Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/watchdog: enable KEEPALIVE for /dev/watchdog

There's no reason why we wouldn't want to be able to send a keep alive
message to /dev/watchdog (feed dog) for the s390 diag288 watchdog, so
let's enable the WDIOF_KEEPALIVEPING option.

Signed-off-by: Xu Wang <gesaint@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Xu Wang and committed by
Martin Schwidefsky
9ec6cb80 a5fd8ddc

+1 -1
+1 -1
drivers/watchdog/diag288_wdt.c
··· 202 202 }; 203 203 204 204 static struct watchdog_info wdt_info = { 205 - .options = WDIOF_SETTIMEOUT | WDIOF_MAGICCLOSE, 205 + .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | WDIOF_MAGICCLOSE, 206 206 .firmware_version = 0, 207 207 .identity = "z Watchdog", 208 208 };