From 9eb4859564d6e104f78abde15e7f0ca996b71236 Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 3 Jan 2012 11:56:53 +0100 Subject: ARM: 7262/1: restart: EXYNOS: use new restart hook Hook these platforms restart code into the new restart hook rather than using arch_reset(). [kgene.kim@samsung.com: according to local header, updated] Signed-off-by: Kukjin Kim Signed-off-by: Russell King --- arch/arm/mach-exynos/common.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'arch/arm/mach-exynos/common.c') diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index eecac125307..6f567a4d851 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include @@ -214,7 +213,7 @@ static void exynos_idle(void) local_irq_enable(); } -static void exynos4_sw_reset(void) +void exynos4_restart(char mode, const char *cmd) { __raw_writel(0x1, S5P_SWRESET); } @@ -476,10 +475,6 @@ int __init exynos_init(void) /* set idle function */ pm_idle = exynos_idle; - /* set sw_reset function */ - if (soc_is_exynos4210() || soc_is_exynos4212() || soc_is_exynos4412()) - s5p_reset_hook = exynos4_sw_reset; - return sysdev_register(&exynos4_sysdev); } -- cgit v1.2.3-70-g09d2