Commit 81ab9f6c authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

MIPS: ralink: Don't set pm_power_off

Setting pm_power_off is apprently wrong and makes drivers such as
gpio-poweroff not work.
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11445/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent bc19f5d6
...@@ -98,7 +98,6 @@ static int __init mips_reboot_setup(void) ...@@ -98,7 +98,6 @@ static int __init mips_reboot_setup(void)
{ {
_machine_restart = ralink_restart; _machine_restart = ralink_restart;
_machine_halt = ralink_halt; _machine_halt = ralink_halt;
pm_power_off = ralink_halt;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment