]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-w90x900/cpu.c
Merge tag 'arc-v3.11-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[~andy/linux] / 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 {