diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-26 20:36:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-26 20:36:59 +0000 |
commit | 17532417c75f62033cafca01f2d61c81e0d4aa2c (patch) | |
tree | 9a80d3c4ccb5b6ca58bb918f9327eb70fdb8b881 /target/linux/gemini/patches-3.10/111-arm-gemini-add-watchdog-device.patch | |
parent | b953a14036238c56215999d47dae4008f90b4c85 (diff) | |
download | upstream-17532417c75f62033cafca01f2d61c81e0d4aa2c.tar.gz upstream-17532417c75f62033cafca01f2d61c81e0d4aa2c.tar.bz2 upstream-17532417c75f62033cafca01f2d61c81e0d4aa2c.zip |
gemini: nuke 3.10 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45037
Diffstat (limited to 'target/linux/gemini/patches-3.10/111-arm-gemini-add-watchdog-device.patch')
-rw-r--r-- | target/linux/gemini/patches-3.10/111-arm-gemini-add-watchdog-device.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/gemini/patches-3.10/111-arm-gemini-add-watchdog-device.patch b/target/linux/gemini/patches-3.10/111-arm-gemini-add-watchdog-device.patch deleted file mode 100644 index 00ca35d96a..0000000000 --- a/target/linux/gemini/patches-3.10/111-arm-gemini-add-watchdog-device.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/arch/arm/mach-gemini/devices.c -+++ b/arch/arm/mach-gemini/devices.c -@@ -117,3 +117,20 @@ int __init platform_register_rtc(void) - return platform_device_register(&gemini_rtc_device); - } - -+static struct resource wdt_resource = { -+ .start = GEMINI_WAQTCHDOG_BASE, -+ .end = GEMINI_WAQTCHDOG_BASE + 0x18, -+ .flags = IORESOURCE_MEM, -+}; -+ -+static struct platform_device wdt_device = { -+ .name = "gemini-wdt", -+ .id = 0, -+ .resource = &wdt_resource, -+ .num_resources = 1, -+}; -+ -+int __init platform_register_watchdog(void) -+{ -+ return platform_device_register(&wdt_device); -+} ---- a/arch/arm/mach-gemini/common.h -+++ b/arch/arm/mach-gemini/common.h -@@ -25,6 +25,7 @@ extern int platform_register_uart(void); - extern int platform_register_pflash(unsigned int size, - struct mtd_partition *parts, - unsigned int nr_parts); -+extern int platform_register_watchdog(void); - - extern void gemini_restart(char mode, const char *cmd); - |