treewide: select ath10k firmware explicit
[lede.git] / target / linux / lantiq / patches-4.4 / 0047-poweroff.patch
1 --- a/arch/mips/lantiq/xway/reset.c
2 +++ b/arch/mips/lantiq/xway/reset.c
3 @@ -301,12 +301,6 @@ static void ltq_machine_halt(void)
4         unreachable();
5  }
6  
7 -static void ltq_machine_power_off(void)
8 -{
9 -       local_irq_disable();
10 -       unreachable();
11 -}
12 -
13  static void ltq_usb_init(void)
14  {
15         /* Power for USB cores 1 & 2 */
16 @@ -379,7 +373,6 @@ static int __init mips_reboot_setup(void
17  
18         _machine_restart = ltq_machine_restart;
19         _machine_halt = ltq_machine_halt;
20 -       pm_power_off = ltq_machine_power_off;
21  
22         return 0;
23  }