blob: 8e7743d3b34dd629a4bfda72905b5e6979d224df [file] [log] [blame]
Lucas Stach29380902016-06-03 18:31:19 +02001/*
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
Ben Dooks4dbc39e2016-06-17 15:51:41 +010021static inline void imx6q_cpuidle_fec_irqs_used(void) { }
22static inline void imx6q_cpuidle_fec_irqs_unused(void) { }
Lucas Stach29380902016-06-03 18:31:19 +020023#endif
24
25#endif /* __SOC_IMX_CPUIDLE_H__ */