Old:
Code: Select all
@@ -441,8 +543,14 @@ define_machine(pasemi) {
.init_IRQ = pas_init_IRQ,
.get_irq = mpic_get_irq,
.restart = pas_restart,
+#ifdef CONFIG_PPC_PASEMI_SB600
+ .power_off = pas_shutdown, // Varisys provided a way to turn us off
+#endif
.get_boot_time = pas_get_boot_time,
.calibrate_decr = generic_calibrate_decr,
.progress = pas_progress,
.machine_check_exception = pas_machine_check_handler,
Code: Select all
@@ -430,9 +524,20 @@ static int __init pas_probe(void)
alloc_iobmap_l2();
+#ifdef CONFIG_PPC_PASEMI_SB600
+ pm_power_off = pas_shutdown; // Varisys provided a way to turn us off
+#endif
return 1;
}