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: NAlan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: NWim Van Sebroeck <wim@iguana.be> Acked-by: NArnd Bergmann <arnd@arndb.de> Acked-by: NWolfram Sang <w.sang@pengutronix.de>
Showing
想要评论请 注册 或 登录