summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop32x/iq31244.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/iq31244.c
parent6338b66f8a8c5bc8ff8671acbfdda02756e92c0a (diff)
downloadtalos-obmc-linux-bec92b1ec67b4998b6a3bad7c2f03c846cbac71e.tar.gz
talos-obmc-linux-bec92b1ec67b4998b6a3bad7c2f03c846cbac71e.zip
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/iq31244.c')
-rw-r--r--arch/arm/mach-iop32x/iq31244.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/iq31244.c b/arch/arm/mach-iop32x/iq31244.c
index 9e7aaccfeba0..3eb642af1cdc 100644
--- a/arch/arm/mach-iop32x/iq31244.c
+++ b/arch/arm/mach-iop32x/iq31244.c
@@ -318,6 +318,7 @@ MACHINE_START(IQ31244, "Intel IQ31244")
.init_irq = iop32x_init_irq,
.timer = &iq31244_timer,
.init_machine = iq31244_init_machine,
+ .restart = iop3xx_restart,
MACHINE_END
/* There should have been an ep80219 machine identifier from the beginning.
@@ -332,4 +333,5 @@ MACHINE_START(EP80219, "Intel EP80219")
.init_irq = iop32x_init_irq,
.timer = &iq31244_timer,
.init_machine = iq31244_init_machine,
+ .restart = iop3xx_restart,
MACHINE_END
OpenPOWER on IntegriCloud