diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-12 18:22:34 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-12 18:22:34 +0000 |
commit | 9013df640412d235ba621db85e10cace9354b68c (patch) | |
tree | bac0ef80d08d5cda4ee698aa3df181b45dd75900 /target/linux/gemini/patches-3.3/111-arm-gemini-add-watchdog-device.patch | |
parent | 9f3767b5f84cb829c21e50b32733855d1787023e (diff) |
gemini: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35995 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/gemini/patches-3.3/111-arm-gemini-add-watchdog-device.patch')
-rw-r--r-- | target/linux/gemini/patches-3.3/111-arm-gemini-add-watchdog-device.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/gemini/patches-3.3/111-arm-gemini-add-watchdog-device.patch b/target/linux/gemini/patches-3.3/111-arm-gemini-add-watchdog-device.patch deleted file mode 100644 index faedfe029..000000000 --- a/target/linux/gemini/patches-3.3/111-arm-gemini-add-watchdog-device.patch +++ /dev/null @@ -1,32 +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,5 +25,6 @@ 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); - - #endif /* __GEMINI_COMMON_H__ */ |