From: Arnd Bergmann Date: Wed, 19 Jun 2013 10:54:48 +0000 (+0200) Subject: ARM: use enum reboot_type on new platforms X-Git-Tag: next-20130628~3^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=034600aa06de9aa3f017a40751327851d70527cc;p=karo-tx-linux.git ARM: use enum reboot_type on new platforms The interface has changed with "reboot: arm: change reboot_mode to use enum reboot_mode" that is getting merged through the -mm tree. Signed-off-by: Arnd Bergmann Signed-off-by: Stephen Rothwell --- diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c index fe4d9ff93a7e..7c1bbe2e4ab0 100644 --- a/arch/arm/mach-keystone/keystone.c +++ b/arch/arm/mach-keystone/keystone.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -49,7 +50,7 @@ static const char *keystone_match[] __initconst = { NULL, }; -void keystone_restart(char mode, const char *cmd) +void keystone_restart(enum reboot_mode mode, const char *cmd) { u32 val; diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index 4130e65a0e3f..1eae12d1506b 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -91,7 +92,7 @@ static void __init zynq_map_io(void) zynq_scu_map_io(); } -static void zynq_system_reset(char mode, const char *cmd) +static void zynq_system_reset(enum reboot_mode mode, const char *cmd) { zynq_slcr_system_reset(); }