summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-01-25 11:40:57 +0100
committerWim Van Sebroeck <wim@iguana.be>2015-02-17 21:33:27 +0100
commit1cc7495c60879eeeda52385a70c99c4cbaace7ef (patch)
tree2cba15b6cfc6e2607f0fbdd0f52242222eb56cb5 /include
parentba804a9510df555c42c2be6c340960879afe39d2 (diff)
downloadlinux-rpi3-1cc7495c60879eeeda52385a70c99c4cbaace7ef.tar.gz
linux-rpi3-1cc7495c60879eeeda52385a70c99c4cbaace7ef.tar.bz2
linux-rpi3-1cc7495c60879eeeda52385a70c99c4cbaace7ef.zip
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')
-rw-r--r--include/linux/bcm47xx_wdt.h1
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;