提交 81ab9f6c 编写于 作者: J John Crispin 提交者: 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: NJohn Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11445/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册