]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit472610951f3b1f7e533aab7c5a95f5a2450a85fa
tree35fafd733a2846acb1dd7a06cb7078a7fe59086f
parent66ddca538e1633b0852b5e02b252df10a58311b5
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