aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-4.14/0047-poweroff.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-11-12 22:27:14 +0100
committerMathias Kresin <dev@kresin.me>2018-02-20 19:25:17 +0100
commit5eeaba31b8fad26d6ed0f1b52a7f156d838326b8 (patch)
tree68cf1e63fe05965a5b6ad7ad096ba33589126329 /target/linux/lantiq/patches-4.14/0047-poweroff.patch
parent73ba5e11f7582967f5151f5a3cb27932b47f44fa (diff)
downloadupstream-5eeaba31b8fad26d6ed0f1b52a7f156d838326b8.tar.gz
upstream-5eeaba31b8fad26d6ed0f1b52a7f156d838326b8.tar.bz2
upstream-5eeaba31b8fad26d6ed0f1b52a7f156d838326b8.zip
lantiq: kernel 4.14: copy patches, config and dts files
This just copies the patches, configuration and dts files into the directories hich are used for kernel 4.14. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/lantiq/patches-4.14/0047-poweroff.patch')
-rw-r--r--target/linux/lantiq/patches-4.14/0047-poweroff.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-4.14/0047-poweroff.patch b/target/linux/lantiq/patches-4.14/0047-poweroff.patch
new file mode 100644
index 0000000000..54249bba52
--- /dev/null
+++ b/target/linux/lantiq/patches-4.14/0047-poweroff.patch
@@ -0,0 +1,23 @@
+--- a/arch/mips/lantiq/xway/reset.c
++++ b/arch/mips/lantiq/xway/reset.c
+@@ -301,12 +301,6 @@ static void ltq_machine_halt(void)
+ unreachable();
+ }
+
+-static void ltq_machine_power_off(void)
+-{
+- local_irq_disable();
+- unreachable();
+-}
+-
+ static void ltq_usb_init(void)
+ {
+ /* Power for USB cores 1 & 2 */
+@@ -379,7 +373,6 @@ static int __init mips_reboot_setup(void
+
+ _machine_restart = ltq_machine_restart;
+ _machine_halt = ltq_machine_halt;
+- pm_power_off = ltq_machine_power_off;
+
+ return 0;
+ }