summaryrefslogtreecommitdiff
path: root/target/linux/gemini/patches-3.18/021-reset-parameters.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-12 17:55:15 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-12 17:55:15 +0200
commit30cd012860c610ebd7ceef2cdac41aef1bf16aeb (patch)
tree05143631bbc588fd32adfe97881002263361de8f /target/linux/gemini/patches-3.18/021-reset-parameters.patch
parent3f1705d7770d6ff42f369ff7856fb047c8b78e42 (diff)
downloadmtk-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/021-reset-parameters.patch')
-rw-r--r--target/linux/gemini/patches-3.18/021-reset-parameters.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/target/linux/gemini/patches-3.18/021-reset-parameters.patch b/target/linux/gemini/patches-3.18/021-reset-parameters.patch
deleted file mode 100644
index 644e513..0000000
--- a/target/linux/gemini/patches-3.18/021-reset-parameters.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- a/arch/arm/mach-gemini/reset.c
-+++ b/arch/arm/mach-gemini/reset.c
-@@ -11,10 +11,11 @@
- #define __MACH_SYSTEM_H
-
- #include <linux/io.h>
-+#include <linux/reboot.h>
- #include <mach/hardware.h>
- #include <mach/global_reg.h>
-
--void gemini_restart(char mode, const char *cmd)
-+void gemini_restart(enum reboot_mode mode, const char *cmd)
- {
- __raw_writel(RESET_GLOBAL | RESET_CPU1,
- IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_RESET);
---- a/arch/arm/mach-gemini/common.h
-+++ b/arch/arm/mach-gemini/common.h
-@@ -26,6 +26,6 @@ extern int platform_register_pflash(unsi
- struct mtd_partition *parts,
- unsigned int nr_parts);
-
--extern void gemini_restart(char mode, const char *cmd);
-+extern void gemini_restart(enum reboot_mode mode, const char *cmd);
-
- #endif /* __GEMINI_COMMON_H__ */