diff options
Diffstat (limited to 'arch/arm/mach-s5pc100/common.c')
-rw-r--r-- | arch/arm/mach-s5pc100/common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pc100/common.c b/arch/arm/mach-s5pc100/common.c index 511031564d35..4bdfecf6d024 100644 --- a/arch/arm/mach-s5pc100/common.c +++ b/arch/arm/mach-s5pc100/common.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <linux/serial_core.h> | 24 | #include <linux/serial_core.h> |
25 | #include <linux/platform_device.h> | 25 | #include <linux/platform_device.h> |
26 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
27 | #include <linux/reboot.h> | ||
27 | 28 | ||
28 | #include <asm/irq.h> | 29 | #include <asm/irq.h> |
29 | #include <asm/proc-fns.h> | 30 | #include <asm/proc-fns.h> |
@@ -217,9 +218,9 @@ void __init s5pc100_init_uarts(struct s3c2410_uartcfg *cfg, int no) | |||
217 | s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no); | 218 | s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no); |
218 | } | 219 | } |
219 | 220 | ||
220 | void s5pc100_restart(char mode, const char *cmd) | 221 | void s5pc100_restart(enum reboot_mode mode, const char *cmd) |
221 | { | 222 | { |
222 | if (mode != 's') | 223 | if (mode != REBOOT_SOFT) |
223 | samsung_wdt_reset(); | 224 | samsung_wdt_reset(); |
224 | 225 | ||
225 | soft_restart(0); | 226 | soft_restart(0); |