diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-12 22:42:18 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-12 22:42:18 +0000 |
commit | 1bd8db0bd63d1c11bb2a73a41835f7d1eb3ca068 (patch) | |
tree | 3e1be3d06231d100c7133e2413cda80d9a74a9b8 /target/linux/generic/patches-3.7/021-ssb_bcma_watchdog_header.patch | |
parent | d085aad2880f799cc09b03a3329635ad84551d3b (diff) | |
download | upstream-1bd8db0bd63d1c11bb2a73a41835f7d1eb3ca068.tar.gz upstream-1bd8db0bd63d1c11bb2a73a41835f7d1eb3ca068.tar.bz2 upstream-1bd8db0bd63d1c11bb2a73a41835f7d1eb3ca068.zip |
kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
SVN-Revision: 34651
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.patch | 22 |
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_ */ |