From 3921470527fa2800f575dee376712f2a6584db91 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 5 Nov 2011 15:32:23 +0000 Subject: ARM: restart: cns3xxx: use new restart hook Hook these platforms restart code into the new restart hook rather than using arch_reset(). Acked-by: Anton Vorontsov Signed-off-by: Russell King --- arch/arm/mach-cns3xxx/pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/arm/mach-cns3xxx/pm.c') diff --git a/arch/arm/mach-cns3xxx/pm.c b/arch/arm/mach-cns3xxx/pm.c index 0c04678615ce..36458080332a 100644 --- a/arch/arm/mach-cns3xxx/pm.c +++ b/arch/arm/mach-cns3xxx/pm.c @@ -11,9 +11,9 @@ #include #include #include -#include #include #include +#include "core.h" void cns3xxx_pwr_clk_en(unsigned int block) { @@ -89,7 +89,7 @@ void cns3xxx_pwr_soft_rst(unsigned int block) } EXPORT_SYMBOL(cns3xxx_pwr_soft_rst); -void arch_reset(char mode, const char *cmd) +void cns3xxx_restart(char mode, const char *cmd) { /* * To reset, we hit the on-board reset register -- cgit v1.2.3