[PATCH 15/15] [POWERPC] Init restart/halt/power_off machine hooks for Motion-PRO.

Marian Balakowicz m8 at semihalf.com
Sun Oct 7 21:36:30 EST 2007


Initialize restart/halt/power_off machine hooks in Promess
Motion-PRO board platform code.

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

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

diff --git a/arch/powerpc/platforms/52xx/motionpro.c b/arch/powerpc/platforms/52xx/motionpro.c
index c1bcfd2..c6954c2 100644
--- a/arch/powerpc/platforms/52xx/motionpro.c
+++ b/arch/powerpc/platforms/52xx/motionpro.c
@@ -210,4 +210,7 @@ define_machine(motionpro) {
 	.get_irq	= mpc52xx_get_irq,
 	.show_cpuinfo	= motionpro_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