reboot: arm: change reboot_mode to use enum reboot_mode
[deliverable/linux.git] / arch / arm / mach-footbridge / common.c
index a42b369bc43914ba9e00e7eff8e800278d2daef1..2739ca2c13346f1ed4bdce26916ae4e2270900ad 100644 (file)
@@ -198,9 +198,9 @@ void __init footbridge_map_io(void)
        }
 }
 
-void footbridge_restart(char mode, const char *cmd)
+void footbridge_restart(enum reboot_mode mode, const char *cmd)
 {
-       if (mode == 's') {
+       if (mode == REBOOT_SOFT) {
                /* Jump into the ROM */
                soft_restart(0x41000000);
        } else {
This page took 0.029022 seconds and 5 git commands to generate.