Skip to content
Snippets Groups Projects
Commit 7cc72e4b authored by John Crispin's avatar John Crispin
Browse files

ralink: dont define pm_poweroff


this makes gpio-poweroff work

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

SVN-Revision: 43254
parent be23eaa8
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,9 @@ CONFIG_PHYLIB=y
CONFIG_PINCTRL=y
CONFIG_PINCTRL_RT2880=y
# CONFIG_PINCTRL_SINGLE is not set
CONFIG_POWER_RESET=y
CONFIG_POWER_RESET_GPIO=y
CONFIG_POWER_SUPPLY=y
# CONFIG_PREEMPT_RCU is not set
CONFIG_RALINK=y
CONFIG_RALINK_USBPHY=y
......
Index: linux-3.14.18/arch/mips/ralink/reset.c
===================================================================
--- linux-3.14.18.orig/arch/mips/ralink/reset.c 2014-09-06 01:34:59.000000000 +0200
+++ linux-3.14.18/arch/mips/ralink/reset.c 2014-11-14 14:28:44.548764125 +0100
@@ -98,7 +98,6 @@
{
_machine_restart = ralink_restart;
_machine_halt = ralink_halt;
- pm_power_off = ralink_halt;
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment