summary refs log tree commit diff
path: root/arch/arm/mach-iop32x/glantank.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-05 11:26:32 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 12:57:13 +0000
commitbec92b1ec67b4998b6a3bad7c2f03c846cbac71e (patch)
tree5c996369d1891f52e1dc7c5ff1e0e33e68a78395 /arch/arm/mach-iop32x/glantank.c
parent6338b66f8a8c5bc8ff8671acbfdda02756e92c0a (diff)
downloadlinux-bec92b1ec67b4998b6a3bad7c2f03c846cbac71e.tar.gz
ARM: restart: iop3xx: use new restart hook
Hook these platforms restart code into the arm_pm_restart hook rather
than using arch_reset().

In doing so, we split out the n2100 platform specific restart handler
into the n2100 platform file.

Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-iop32x/glantank.c')
-rw-r--r--arch/arm/mach-iop32x/glantank.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/glantank.c b/arch/arm/mach-iop32x/glantank.c
index 0edc88020577..204e1d1cd766 100644
--- a/arch/arm/mach-iop32x/glantank.c
+++ b/arch/arm/mach-iop32x/glantank.c
@@ -212,4 +212,5 @@ MACHINE_START(GLANTANK, "GLAN Tank")
 	.init_irq	= iop32x_init_irq,
 	.timer		= &glantank_timer,
 	.init_machine	= glantank_init_machine,
+	.restart	= iop3xx_restart,
 MACHINE_END