[PATCH 13/15] [POWERPC] Init restart/halt/power_off machine hooks for TQM5200.

Marian Balakowicz m8 at semihalf.com
Sun Oct 7 21:32:56 EST 2007


Initialize restart/halt/power_off machine hooks in TQM5200 board
platform code.

Signed-off-by: Marian Balakowicz <m8 at semihalf.com>
---

 tqm5200.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/powerpc/platforms/52xx/tqm5200.c b/arch/powerpc/platforms/52xx/tqm5200.c
index 780b79f..09151d6 100644
--- a/arch/powerpc/platforms/52xx/tqm5200.c
+++ b/arch/powerpc/platforms/52xx/tqm5200.c
@@ -171,4 +171,7 @@ define_machine(tqm5200) {
 	.get_irq	= mpc52xx_get_irq,
 	.show_cpuinfo	= tqm5200_show_cpuinfo,
 	.calibrate_decr	= generic_calibrate_decr,
+	.restart	= mpc52xx_restart,
+	.halt		= mpc52xx_halt,
+	.power_off	= mpc52xx_power_off,
 };





More information about the Linuxppc-dev mailing list