aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/s3c244x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c24xx/s3c244x.c')
-rw-r--r--arch/arm/mach-s3c24xx/s3c244x.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c24xx/s3c244x.c b/arch/arm/mach-s3c24xx/s3c244x.c
index d0423e2544c1..911b555029fc 100644
--- a/arch/arm/mach-s3c24xx/s3c244x.c
+++ b/arch/arm/mach-s3c24xx/s3c244x.c
@@ -18,6 +18,7 @@
18#include <linux/init.h> 18#include <linux/init.h>
19#include <linux/serial_core.h> 19#include <linux/serial_core.h>
20#include <linux/platform_device.h> 20#include <linux/platform_device.h>
21#include <linux/reboot.h>
21#include <linux/device.h> 22#include <linux/device.h>
22#include <linux/syscore_ops.h> 23#include <linux/syscore_ops.h>
23#include <linux/clk.h> 24#include <linux/clk.h>
@@ -198,9 +199,9 @@ struct syscore_ops s3c244x_pm_syscore_ops = {
198 .resume = s3c244x_resume, 199 .resume = s3c244x_resume,
199}; 200};
200 201
201void s3c244x_restart(char mode, const char *cmd) 202void s3c244x_restart(enum reboot_mode mode, const char *cmd)
202{ 203{
203 if (mode == 's') 204 if (mode == REBOOT_SOFT)
204 soft_restart(0); 205 soft_restart(0);
205 206
206 samsung_wdt_reset(); 207 samsung_wdt_reset();