]> 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)
commit50465eacddc7ebcab8b796f3c5b60de383eed60c
tree35fafd733a2846acb1dd7a06cb7078a7fe59086f
parentb491f499fe283193c847939922aaf9efe3ff847a
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