diff options
author | John Crispin <blogic@openwrt.org> | 2014-11-14 16:53:40 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-11-14 16:53:40 +0000 |
commit | 546bd6e2d1b62d88da25e271bf7c924ee8d5d593 (patch) | |
tree | 23747c631394df1dc0e1278f7a22fbad4136c1b9 /target/linux/ramips | |
parent | 13452fd43226244cce788cf2f179514b236d2edd (diff) | |
download | master-187ad058-546bd6e2d1b62d88da25e271bf7c924ee8d5d593.tar.gz master-187ad058-546bd6e2d1b62d88da25e271bf7c924ee8d5d593.tar.bz2 master-187ad058-546bd6e2d1b62d88da25e271bf7c924ee8d5d593.zip |
ralink: dont define pm_poweroff
this makes gpio-poweroff work
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43254 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/mt7621/config-3.14 | 3 | ||||
-rw-r--r-- | target/linux/ramips/patches-3.14/999-no-pm_poweroff.patch | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/config-3.14 b/target/linux/ramips/mt7621/config-3.14 index c938309018..bc1527d0c7 100644 --- a/target/linux/ramips/mt7621/config-3.14 +++ b/target/linux/ramips/mt7621/config-3.14 @@ -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 diff --git a/target/linux/ramips/patches-3.14/999-no-pm_poweroff.patch b/target/linux/ramips/patches-3.14/999-no-pm_poweroff.patch new file mode 100644 index 0000000000..ce2bc1c53b --- /dev/null +++ b/target/linux/ramips/patches-3.14/999-no-pm_poweroff.patch @@ -0,0 +1,12 @@ +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; + } |