Root/target/linux/generic/patches-3.6/021-ssb_bcma_watchdog_header.patch

1--- /dev/null
2+++ b/include/linux/bcm47xx_wdt.h
3@@ -0,0 +1,19 @@
4+#ifndef LINUX_BCM47XX_WDT_H_
5+#define LINUX_BCM47XX_WDT_H_
6+
7+#include <linux/types.h>
8+
9+
10+struct bcm47xx_wdt {
11+ u32 (*timer_set)(struct bcm47xx_wdt *, u32);
12+ u32 (*timer_set_ms)(struct bcm47xx_wdt *, u32);
13+ u32 max_timer_ms;
14+
15+ void *driver_data;
16+};
17+
18+static inline void *bcm47xx_wdt_get_drvdata(struct bcm47xx_wdt *wdt)
19+{
20+ return wdt->driver_data;
21+}
22+#endif /* LINUX_BCM47XX_WDT_H_ */
23

Archive Download this file



interactive