summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-gemini/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-gemini/reset.c')
-rw-r--r--arch/arm/mach-gemini/reset.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-gemini/reset.c b/arch/arm/mach-gemini/reset.c
index b26659759e27..21a6d6d4f9c4 100644
--- a/arch/arm/mach-gemini/reset.c
+++ b/arch/arm/mach-gemini/reset.c
@@ -14,7 +14,9 @@
#include <mach/hardware.h>
#include <mach/global_reg.h>
-void gemini_restart(char mode, const char *cmd)
+#include "common.h"
+
+void gemini_restart(enum reboot_mode mode, const char *cmd)
{
__raw_writel(RESET_GLOBAL | RESET_CPU1,
IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_RESET);
OpenPOWER on IntegriCloud