reboot: arm: change reboot_mode to use enum reboot_mode
[deliverable/linux.git] / arch / arm / mach-sa1100 / generic.c
index 9db3e98e8b85dbf8f4c27106e8c3e5ea76d89ccd..f25b6119e028cc42ee564712fb3ef746961e0574 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/cpufreq.h>
 #include <linux/ioport.h>
 #include <linux/platform_device.h>
+#include <linux/reboot.h>
 
 #include <video/sa1100fb.h>
 
@@ -131,9 +132,9 @@ static void sa1100_power_off(void)
        PMCR = PMCR_SF;
 }
 
-void sa11x0_restart(char mode, const char *cmd)
+void sa11x0_restart(enum reboot_mode mode, const char *cmd)
 {
-       if (mode == 's') {
+       if (mode == REBOOT_SOFT) {
                /* Jump into ROM at address 0 */
                soft_restart(0);
        } else {
This page took 0.026331 seconds and 5 git commands to generate.