summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.7/021-ssb_bcma_watchdog_header.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-12 22:42:18 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-12 22:42:18 +0000
commit811c287737892fe00307b9e7afb832fd459f6e6a (patch)
tree361f1acf0bb77a59cdddefa0a8427afb494fe932 /target/linux/generic/patches-3.7/021-ssb_bcma_watchdog_header.patch
parent9c0265ae1924e58fd92470bc395ea63f1e9c81cf (diff)
kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34651 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.7/021-ssb_bcma_watchdog_header.patch')
-rw-r--r--target/linux/generic/patches-3.7/021-ssb_bcma_watchdog_header.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.7/021-ssb_bcma_watchdog_header.patch b/target/linux/generic/patches-3.7/021-ssb_bcma_watchdog_header.patch
new file mode 100644
index 0000000000..18feeab0be
--- /dev/null
+++ b/target/linux/generic/patches-3.7/021-ssb_bcma_watchdog_header.patch
@@ -0,0 +1,22 @@
+--- /dev/null
++++ b/include/linux/bcm47xx_wdt.h
+@@ -0,0 +1,19 @@
++#ifndef LINUX_BCM47XX_WDT_H_
++#define LINUX_BCM47XX_WDT_H_
++
++#include <linux/types.h>
++
++
++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_ */