reboot: arm: change reboot_mode to use enum reboot_mode
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-footbridge / netwinder-hw.c
index 90ea23fdce4c919ef6560fc3a87b1beaebde78f0..1fd2cf097e30fcfc10ce6ff7f200180340464496 100644 (file)
@@ -634,9 +634,9 @@ fixup_netwinder(struct tag *tags, char **cmdline, struct meminfo *mi)
 #endif
 }
 
-static void netwinder_restart(char mode, const char *cmd)
+static void netwinder_restart(enum reboot_mode mode, const char *cmd)
 {
-       if (mode == 's') {
+       if (mode == REBOOT_SOFT) {
                /* Jump into the ROM */
                soft_restart(0x41000000);
        } else {