diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-01-25 11:40:57 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-02-17 21:33:27 +0100 |
commit | 1cc7495c60879eeeda52385a70c99c4cbaace7ef (patch) | |
tree | 2cba15b6cfc6e2607f0fbdd0f52242222eb56cb5 /include/linux/bcm47xx_wdt.h | |
parent | ba804a9510df555c42c2be6c340960879afe39d2 (diff) |
watchdog: bcm47xx_wdt.c: add restart handler support
Just like in case of other watchdog drivers, use the new kernel core
API to provide restart support.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'include/linux/bcm47xx_wdt.h')
-rw-r--r-- | include/linux/bcm47xx_wdt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bcm47xx_wdt.h b/include/linux/bcm47xx_wdt.h index b708786d4cbf..5582c211f594 100644 --- a/include/linux/bcm47xx_wdt.h +++ b/include/linux/bcm47xx_wdt.h @@ -16,6 +16,7 @@ struct bcm47xx_wdt { struct watchdog_device wdd; struct notifier_block notifier; + struct notifier_block restart_handler; struct timer_list soft_timer; atomic_t soft_ticks; |