Thomas Gleixner | 2025cf9 | 2019-05-29 07:18:02 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Lucas Stach | 2938090 | 2016-06-03 18:31:19 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2016 Pengutronix, <kernel@pengutronix.de> |
Lucas Stach | 2938090 | 2016-06-03 18:31:19 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __SOC_IMX_CPUIDLE_H__ |
| 7 | #define __SOC_IMX_CPUIDLE_H__ |
| 8 | |
| 9 | #if defined(CONFIG_CPU_IDLE) && defined(CONFIG_SOC_IMX6Q) |
| 10 | void imx6q_cpuidle_fec_irqs_used(void); |
| 11 | void imx6q_cpuidle_fec_irqs_unused(void); |
| 12 | #else |
Ben Dooks | 4dbc39e | 2016-06-17 15:51:41 +0100 | [diff] [blame] | 13 | static inline void imx6q_cpuidle_fec_irqs_used(void) { } |
| 14 | static inline void imx6q_cpuidle_fec_irqs_unused(void) { } |
Lucas Stach | 2938090 | 2016-06-03 18:31:19 +0200 | [diff] [blame] | 15 | #endif |
| 16 | |
| 17 | #endif /* __SOC_IMX_CPUIDLE_H__ */ |