watchdog: Add 'action' and 'data' parameters to restart handler callback
[linux-2.6-microblaze.git] / include / linux / watchdog.h
index b585fa2..0b565f2 100644 (file)
@@ -46,7 +46,7 @@ struct watchdog_ops {
        unsigned int (*status)(struct watchdog_device *);
        int (*set_timeout)(struct watchdog_device *, unsigned int);
        unsigned int (*get_timeleft)(struct watchdog_device *);
-       int (*restart)(struct watchdog_device *);
+       int (*restart)(struct watchdog_device *, unsigned long, void *);
        long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long);
 };