Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v4.12-rc2 25 lines 880 B view raw
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 14#ifndef __SOC_IMX_CPUIDLE_H__ 15#define __SOC_IMX_CPUIDLE_H__ 16 17#if defined(CONFIG_CPU_IDLE) && defined(CONFIG_SOC_IMX6Q) 18void imx6q_cpuidle_fec_irqs_used(void); 19void imx6q_cpuidle_fec_irqs_unused(void); 20#else 21static inline void imx6q_cpuidle_fec_irqs_used(void) { } 22static inline void imx6q_cpuidle_fec_irqs_unused(void) { } 23#endif 24 25#endif /* __SOC_IMX_CPUIDLE_H__ */