reboot: arm: change reboot_mode to use enum reboot_mode
[cascardo/linux.git] / arch / arm / mach-iop32x / n2100.c
index ea0984a..0691443 100644 (file)
@@ -286,7 +286,7 @@ static void n2100_power_off(void)
                ;
 }
 
-static void n2100_restart(char mode, const char *cmd)
+static void n2100_restart(enum reboot_mode mode, const char *cmd)
 {
        gpio_line_set(N2100_HARDWARE_RESET, GPIO_LOW);
        gpio_line_config(N2100_HARDWARE_RESET, GPIO_OUT);