aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.18/999-no-pm_poweroff.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-3.18/999-no-pm_poweroff.patch')
-rw-r--r--target/linux/ramips/patches-3.18/999-no-pm_poweroff.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.18/999-no-pm_poweroff.patch b/target/linux/ramips/patches-3.18/999-no-pm_poweroff.patch
new file mode 100644
index 0000000000..fedfe37154
--- /dev/null
+++ b/target/linux/ramips/patches-3.18/999-no-pm_poweroff.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/ralink/reset.c
++++ b/arch/mips/ralink/reset.c
+@@ -98,7 +98,6 @@ static int __init mips_reboot_setup(void
+ {
+ _machine_restart = ralink_restart;
+ _machine_halt = ralink_halt;
+- pm_power_off = ralink_halt;
+
+ return 0;
+ }