blob: 7d92028015b33c62a67fe5df86e1547648976644 [file] [log] [blame]
Thomas Gleixner2025cf92019-05-29 07:18:02 -07001/* SPDX-License-Identifier: GPL-2.0-only */
Lucas Stach29380902016-06-03 18:31:19 +02002/*
3 * Copyright 2016 Pengutronix, <kernel@pengutronix.de>
Lucas Stach29380902016-06-03 18:31:19 +02004 */
5
6#ifndef __SOC_IMX_CPUIDLE_H__
7#define __SOC_IMX_CPUIDLE_H__
8
9#if defined(CONFIG_CPU_IDLE) && defined(CONFIG_SOC_IMX6Q)
10void imx6q_cpuidle_fec_irqs_used(void);
11void imx6q_cpuidle_fec_irqs_unused(void);
12#else
Ben Dooks4dbc39e2016-06-17 15:51:41 +010013static inline void imx6q_cpuidle_fec_irqs_used(void) { }
14static inline void imx6q_cpuidle_fec_irqs_unused(void) { }
Lucas Stach29380902016-06-03 18:31:19 +020015#endif
16
17#endif /* __SOC_IMX_CPUIDLE_H__ */