openwrtv4/target/linux/ramips/patches-3.18/999-no-pm_poweroff.patch

11 lines
239 B
Diff
Raw Normal View History

--- a/arch/mips/ralink/reset.c
+++ b/arch/mips/ralink/reset.c
@@ -98,7 +98,6 @@ static int __init mips_reboot_setup(void
{
_machine_restart = ralink_restart;
_machine_halt = ralink_halt;
- pm_power_off = ralink_halt;
return 0;
}