diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-12 17:55:15 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-05-12 17:55:15 +0200 |
commit | 30cd012860c610ebd7ceef2cdac41aef1bf16aeb (patch) | |
tree | 05143631bbc588fd32adfe97881002263361de8f /target/linux/gemini/patches-3.18/111-arm-gemini-add-watchdog-device.patch | |
parent | 3f1705d7770d6ff42f369ff7856fb047c8b78e42 (diff) | |
download | mtk-20170518-30cd012860c610ebd7ceef2cdac41aef1bf16aeb.zip mtk-20170518-30cd012860c610ebd7ceef2cdac41aef1bf16aeb.tar.gz mtk-20170518-30cd012860c610ebd7ceef2cdac41aef1bf16aeb.tar.bz2 |
gemini: delete 3.18 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/gemini/patches-3.18/111-arm-gemini-add-watchdog-device.patch')
-rw-r--r-- | target/linux/gemini/patches-3.18/111-arm-gemini-add-watchdog-device.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/gemini/patches-3.18/111-arm-gemini-add-watchdog-device.patch b/target/linux/gemini/patches-3.18/111-arm-gemini-add-watchdog-device.patch deleted file mode 100644 index 3f1f40d..0000000 --- a/target/linux/gemini/patches-3.18/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(enum reboot_mode mode, const char *cmd); - |