gemini: add 3.18 support

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 45033
This commit is contained in:
Felix Fietkau
2015-03-26 20:36:30 +00:00
parent 8ef68a2005
commit a304f3d2b6
16 changed files with 6055 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
--- 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 2014-08-23 07:06:06.014200638 -0500
+++ b/arch/arm/mach-gemini/common.h 2014-08-23 07:07:33.450536466 -0500
@@ -26,6 +26,6 @@
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__ */