reboot: arm: change reboot_mode to use enum reboot_mode
[cascardo/linux.git] / arch / arm / mach-exynos / common.c
index 2c655db..164685b 100644 (file)
@@ -285,12 +285,12 @@ static struct map_desc exynos5440_iodesc0[] __initdata = {
        },
 };
 
-void exynos4_restart(char mode, const char *cmd)
+void exynos4_restart(enum reboot_mode mode, const char *cmd)
 {
        __raw_writel(0x1, S5P_SWRESET);
 }
 
-void exynos5_restart(char mode, const char *cmd)
+void exynos5_restart(enum reboot_mode mode, const char *cmd)
 {
        struct device_node *np;
        u32 val;