hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/soc/tegra/cpuidle.h
....@@ -1,20 +1,12 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
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.
124 */
135
146 #ifndef __SOC_TEGRA_CPUIDLE_H__
157 #define __SOC_TEGRA_CPUIDLE_H__
168
17
-#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_TEGRA) && defined(CONFIG_CPU_IDLE)
9
+#ifdef CONFIG_ARM_TEGRA_CPUIDLE
1810 void tegra_cpuidle_pcie_irqs_in_use(void);
1911 #else
2012 static inline void tegra_cpuidle_pcie_irqs_in_use(void)