watchdog: Add support for WDIOC_GETTIMELEFT IOCTL in watchdog core
authorViresh Kumar <viresh.kumar@st.com>
Fri, 16 Mar 2012 08:14:00 +0000 (09:14 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 27 Mar 2012 18:15:37 +0000 (20:15 +0200)
commitfd7b673c92731fc6c0b1e999adfd87b6762ee797
tree35fafd733a2846acb1dd7a06cb7078a7fe59086f
parent2ca1606359695cc7ce371c7829c4082d9095fc06
watchdog: Add support for WDIOC_GETTIMELEFT IOCTL in watchdog core

This patch adds support for WDIOC_GETTIMELEFT IOCTL in watchdog core. So, there
is another function pointer added to struct watchdog_ops, which can be passed by
drivers to support this IOCTL.

Related documentation is updated too.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/watchdog/convert_drivers_to_kernel_api.txt
Documentation/watchdog/watchdog-kernel-api.txt
drivers/watchdog/watchdog_dev.c
include/linux/watchdog.h