cpuidle.h 880 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 2016 Pengutronix, <kernel@pengutronix.de>
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms and conditions of the GNU General Public License,
  6. * version 2, as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope it will be useful, but WITHOUT
  9. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  11. * more details.
  12. */
  13. #ifndef __SOC_IMX_CPUIDLE_H__
  14. #define __SOC_IMX_CPUIDLE_H__
  15. #if defined(CONFIG_CPU_IDLE) && defined(CONFIG_SOC_IMX6Q)
  16. void imx6q_cpuidle_fec_irqs_used(void);
  17. void imx6q_cpuidle_fec_irqs_unused(void);
  18. #else
  19. static inline void imx6q_cpuidle_fec_irqs_used(void) { }
  20. static inline void imx6q_cpuidle_fec_irqs_unused(void) { }
  21. #endif
  22. #endif /* __SOC_IMX_CPUIDLE_H__ */