summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/patches-4.4/0047-poweroff.patch
blob: 88aed2ce9620833473e9e20995139abbf9f3c4cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 */
@@ -380,7 +374,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;
 }