0047-poweroff.patch 506 B

1234567891011121314151617181920212223
  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. -static void ltq_machine_power_off(void)
  7. -{
  8. - local_irq_disable();
  9. - unreachable();
  10. -}
  11. -
  12. static void ltq_usb_init(void)
  13. {
  14. /* Power for USB cores 1 & 2 */
  15. @@ -379,7 +373,6 @@ static int __init mips_reboot_setup(void
  16. _machine_restart = ltq_machine_restart;
  17. _machine_halt = ltq_machine_halt;
  18. - pm_power_off = ltq_machine_power_off;
  19. return 0;
  20. }