1306a7f91SThierry Reding /* 2306a7f91SThierry Reding * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. 3306a7f91SThierry Reding * 4306a7f91SThierry Reding * This program is free software; you can redistribute it and/or modify it 5306a7f91SThierry Reding * under the terms and conditions of the GNU General Public License, 6306a7f91SThierry Reding * version 2, as published by the Free Software Foundation. 7306a7f91SThierry Reding * 8306a7f91SThierry Reding * This program is distributed in the hope it will be useful, but WITHOUT 9306a7f91SThierry Reding * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10306a7f91SThierry Reding * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 11306a7f91SThierry Reding * more details. 12306a7f91SThierry Reding */ 13306a7f91SThierry Reding 14306a7f91SThierry Reding #ifndef __SOC_TEGRA_CPUIDLE_H__ 15306a7f91SThierry Reding #define __SOC_TEGRA_CPUIDLE_H__ 16306a7f91SThierry Reding 17306a7f91SThierry Reding #ifdef CONFIG_CPU_IDLE 18306a7f91SThierry Reding void tegra_cpuidle_pcie_irqs_in_use(void); 19306a7f91SThierry Reding #else 20306a7f91SThierry Reding static inline void tegra_cpuidle_pcie_irqs_in_use(void) 21306a7f91SThierry Reding { 22306a7f91SThierry Reding } 23306a7f91SThierry Reding #endif 24306a7f91SThierry Reding 25306a7f91SThierry Reding #endif /* __SOC_TEGRA_CPUIDLE_H__ */ 26