From e0b8e32e10648e046454dd8b955133d7f87ab2a1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 5 Dec 2012 18:45:58 +0100 Subject: [PATCH] --- yaml --- r: 341999 b: refs/heads/master c: bc245cc36c5687dd3fbf6d4a1b3c13d41f9cb189 h: refs/heads/master i: 341997: 86114b4ca5ceac4f896efaa741e3aa0a8bc56098 341995: 2de9ccc610575ef3603fc7431bca6854b3c294a5 341991: 7d4b8b8fa70d9b230cb52ea43175ecaf18127695 341983: bb058b9d03bfa379596c0fe156b3023341d828c8 v: v3 --- [refs] | 2 +- trunk/include/linux/bcm47xx_wdt.h | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 trunk/include/linux/bcm47xx_wdt.h diff --git a/[refs] b/[refs] index 53297d561acd..1e2d5ea3ebbf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8df0f1e5cbd4ff1e2059a1e11bd89b35aa5ed004 +refs/heads/master: bc245cc36c5687dd3fbf6d4a1b3c13d41f9cb189 diff --git a/trunk/include/linux/bcm47xx_wdt.h b/trunk/include/linux/bcm47xx_wdt.h new file mode 100644 index 000000000000..e5dfc256485b --- /dev/null +++ b/trunk/include/linux/bcm47xx_wdt.h @@ -0,0 +1,19 @@ +#ifndef LINUX_BCM47XX_WDT_H_ +#define LINUX_BCM47XX_WDT_H_ + +#include + + +struct bcm47xx_wdt { + u32 (*timer_set)(struct bcm47xx_wdt *, u32); + u32 (*timer_set_ms)(struct bcm47xx_wdt *, u32); + u32 max_timer_ms; + + void *driver_data; +}; + +static inline void *bcm47xx_wdt_get_drvdata(struct bcm47xx_wdt *wdt) +{ + return wdt->driver_data; +} +#endif /* LINUX_BCM47XX_WDT_H_ */