]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: WatchDog Timer Driver Core - Add ioctl call
authorWim Van Sebroeck <wim@iguana.be>
Fri, 22 Jul 2011 18:59:49 +0000 (18:59 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 22 Jul 2011 18:59:49 +0000 (18:59 +0000)
commit5d376ab21ff8c3108d67819371a149a6f6e2a038
tree8ccf7955548be754ae7bd2139142b0927e729a8c
parentfdcdca0b177db3f39aa2680b10ab80a44f715d7d
watchdog: WatchDog Timer Driver Core - Add ioctl call

Add support for extra ioctl calls by adding a
ioctl watchdog operation. This operation will be
called before we do our own handling of ioctl
commands. This way we can override the internal
ioctl command handling and we can also add
extra ioctl commands. The ioctl watchdog operation
should return the appropriate error codes or
-ENOIOCTLCMD if the ioctl command should be handled
through the internal ioctl handling of the framework.

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Documentation/watchdog/watchdog-kernel-api.txt
drivers/watchdog/watchdog_dev.c
include/linux/watchdog.h