diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-06-09 19:18:32 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-06-11 09:49:13 +0200 |
commit | 2cf67832ec63b24e23bc1d2bdec6a8a6ddbd0a39 (patch) | |
tree | 5c02949b28f1187699e70cbaa250378b1fec76a8 /target/linux | |
parent | eed2f24c0d1138e9c46befd464548de538f0bb60 (diff) | |
download | mtk-20170518-2cf67832ec63b24e23bc1d2bdec6a8a6ddbd0a39.zip mtk-20170518-2cf67832ec63b24e23bc1d2bdec6a8a6ddbd0a39.tar.gz mtk-20170518-2cf67832ec63b24e23bc1d2bdec6a8a6ddbd0a39.tar.bz2 |
lantiq: remove dummy ltq_machine_power_off to fix gpio-poweroff drivers
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/lantiq/patches-4.4/0047-poweroff.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-4.4/0047-poweroff.patch b/target/linux/lantiq/patches-4.4/0047-poweroff.patch new file mode 100644 index 0000000..54249bb --- /dev/null +++ b/target/linux/lantiq/patches-4.4/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; + } |