watchdog: add pretimeout support to the core
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 31 Aug 2016 11:52:41 +0000 (14:52 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 24 Sep 2016 07:27:15 +0000 (09:27 +0200)
commitdf044e02206230c7d79a9aef96a6c087476f5533
treee1e6868b6d5a86c588457dc2b8c90418a6c8f02c
parent68d4cb809ef84f9a0ea6a23c4c0dc0ae48355f78
watchdog: add pretimeout support to the core

Since the watchdog framework centrializes the IOCTL interfaces of device
drivers now, SETPRETIMEOUT and GETPRETIMEOUT need to be added in the
common code.

Signed-off-by: Robin Gong <b38343@freescale.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[vzapolskiy: added conditional pretimeout sysfs attribute visibility]
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/watchdog/watchdog-kernel-api.txt
drivers/watchdog/watchdog_dev.c
include/linux/watchdog.h