summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-3.14
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-14 16:53:40 +0000
committerJohn Crispin <john@openwrt.org>2014-11-14 16:53:40 +0000
commit7cc72e4b93f41e7071fb23b7ef00f4dd58ebed51 (patch)
tree8b67a169ee66c6e023caf1ace6f23076e3b3c4cd /target/linux/ramips/patches-3.14
parentbe23eaa8c3bb0bca2f197cf969f181b94f413f4e (diff)
downloadmtk-20170518-7cc72e4b93f41e7071fb23b7ef00f4dd58ebed51.zip
mtk-20170518-7cc72e4b93f41e7071fb23b7ef00f4dd58ebed51.tar.gz
mtk-20170518-7cc72e4b93f41e7071fb23b7ef00f4dd58ebed51.tar.bz2
ralink: dont define pm_poweroff
this makes gpio-poweroff work Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43254
Diffstat (limited to 'target/linux/ramips/patches-3.14')
-rw-r--r--target/linux/ramips/patches-3.14/999-no-pm_poweroff.patch12
1 files changed, 12 insertions, 0 deletions
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 0000000..ce2bc1c
--- /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;
+ }