aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/watchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/watchdog.h')
-rw-r--r--include/linux/watchdog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h
index f719883c5141..325d90b6641b 100644
--- a/include/linux/watchdog.h
+++ b/include/linux/watchdog.h
@@ -70,6 +70,7 @@ struct watchdog_device;
70 * @ping: The routine that sends a keepalive ping to the watchdog device. 70 * @ping: The routine that sends a keepalive ping to the watchdog device.
71 * @status: The routine that shows the status of the watchdog device. 71 * @status: The routine that shows the status of the watchdog device.
72 * @set_timeout:The routine for setting the watchdog devices timeout value. 72 * @set_timeout:The routine for setting the watchdog devices timeout value.
73 * @ioctl: The routines that handles extra ioctl calls.
73 * 74 *
74 * The watchdog_ops structure contains a list of low-level operations 75 * The watchdog_ops structure contains a list of low-level operations
75 * that control a watchdog device. It also contains the module that owns 76 * that control a watchdog device. It also contains the module that owns
@@ -85,6 +86,7 @@ struct watchdog_ops {
85 int (*ping)(struct watchdog_device *); 86 int (*ping)(struct watchdog_device *);
86 unsigned int (*status)(struct watchdog_device *); 87 unsigned int (*status)(struct watchdog_device *);
87 int (*set_timeout)(struct watchdog_device *, unsigned int); 88 int (*set_timeout)(struct watchdog_device *, unsigned int);
89 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long);
88}; 90};
89 91
90/** struct watchdog_device - The structure that defines a watchdog device 92/** struct watchdog_device - The structure that defines a watchdog device