reboot: arm: change reboot_mode to use enum reboot_mode
[deliverable/linux.git] / arch / arm / mach-w90x900 / cpu.c
index 9e4dd8b63c4a2e9fed3296960db34209f745c2e1..b1eabaad50a5a2358dae8e98ffbd1d9f187aa73c 100644 (file)
@@ -230,9 +230,9 @@ void __init nuc900_init_clocks(void)
 #define        WTE     (1 << 7)
 #define        WTRE    (1 << 1)
 
-void nuc9xx_restart(char mode, const char *cmd)
+void nuc9xx_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.044484 seconds and 5 git commands to generate.