@@ -70,6 +70,8 @@ static void __init linkstation_setup_arch(void)
for_each_compatible_node(np, "pci", "mpc10x-pci")
linkstation_add_bridge(np);
+ pm_power_off = linkstation_power_off;
+
printk(KERN_INFO "BUFFALO Network Attached Storage Series\n");
printk(KERN_INFO "(C) 2002-2005 BUFFALO INC.\n");
}
@@ -158,7 +160,6 @@ define_machine(linkstation){
.show_cpuinfo = linkstation_show_cpuinfo,
.get_irq = mpic_get_irq,
.restart = linkstation_restart,
- .power_off = linkstation_power_off,
.halt = linkstation_halt,
.calibrate_decr = generic_calibrate_decr,
};
The generic power off callback is pm_power_off. Use that one rather than the powerpc specific ppc_md.power_off. Signed-off-by: Alexander Graf <agraf@suse.de> --- arch/powerpc/platforms/embedded6xx/linkstation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)