129380905SLucas Stach /* 229380905SLucas Stach * Copyright 2016 Pengutronix, <kernel@pengutronix.de> 329380905SLucas Stach * 429380905SLucas Stach * This program is free software; you can redistribute it and/or modify it 529380905SLucas Stach * under the terms and conditions of the GNU General Public License, 629380905SLucas Stach * version 2, as published by the Free Software Foundation. 729380905SLucas Stach * 829380905SLucas Stach * This program is distributed in the hope it will be useful, but WITHOUT 929380905SLucas Stach * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1029380905SLucas Stach * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 1129380905SLucas Stach * more details. 1229380905SLucas Stach */ 1329380905SLucas Stach 1429380905SLucas Stach #ifndef __SOC_IMX_CPUIDLE_H__ 1529380905SLucas Stach #define __SOC_IMX_CPUIDLE_H__ 1629380905SLucas Stach 1729380905SLucas Stach #if defined(CONFIG_CPU_IDLE) && defined(CONFIG_SOC_IMX6Q) 1829380905SLucas Stach void imx6q_cpuidle_fec_irqs_used(void); 1929380905SLucas Stach void imx6q_cpuidle_fec_irqs_unused(void); 2029380905SLucas Stach #else 21*4dbc39e9SBen Dooks static inline void imx6q_cpuidle_fec_irqs_used(void) { } 22*4dbc39e9SBen Dooks static inline void imx6q_cpuidle_fec_irqs_unused(void) { } 2329380905SLucas Stach #endif 2429380905SLucas Stach 2529380905SLucas Stach #endif /* __SOC_IMX_CPUIDLE_H__ */ 26