aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2013-06-17 10:45:37 -0400
committerKukjin Kim <kgene.kim@samsung.com>2013-06-18 14:13:16 -0400
commit88f597383824c7a67b3120a3584afca85b91e7bb (patch)
tree2e316832220bab2fff3ce1942c9de8cbf216f571 /arch/arm/mach-s5pc100
parenta4658e57a7a1bc8d6b54c29c051426ea838fd6d7 (diff)
ARM: SAMSUNG: Let platforms use the new watchdog reset driver
This patch moves all platforms using the legacy watchdog reset helper function to the new watchdog reset driver. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pc100')
-rw-r--r--arch/arm/mach-s5pc100/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s5pc100/common.c b/arch/arm/mach-s5pc100/common.c
index cc6e561c9958..511031564d35 100644
--- a/arch/arm/mach-s5pc100/common.c
+++ b/arch/arm/mach-s5pc100/common.c
@@ -178,6 +178,7 @@ void __init s5pc100_init_clocks(int xtal)
178 s5p_register_clocks(xtal); 178 s5p_register_clocks(xtal);
179 s5pc100_register_clocks(); 179 s5pc100_register_clocks();
180 s5pc100_setup_clocks(); 180 s5pc100_setup_clocks();
181 samsung_wdt_reset_init(S3C_VA_WATCHDOG);
181} 182}
182 183
183void __init s5pc100_init_irq(void) 184void __init s5pc100_init_irq(void)
@@ -219,7 +220,7 @@ void __init s5pc100_init_uarts(struct s3c2410_uartcfg *cfg, int no)
219void s5pc100_restart(char mode, const char *cmd) 220void s5pc100_restart(char mode, const char *cmd)
220{ 221{
221 if (mode != 's') 222 if (mode != 's')
222 arch_wdt_reset(); 223 samsung_wdt_reset();
223 224
224 soft_restart(0); 225 soft_restart(0);
225} 226}