diff options
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle.h')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/arm/mach-tegra/cpuidle.h b/arch/arm/mach-tegra/cpuidle.h index 9bcf61fa38b8..9ec2c1ab0fa4 100644 --- a/arch/arm/mach-tegra/cpuidle.h +++ b/arch/arm/mach-tegra/cpuidle.h | |||
@@ -17,25 +17,10 @@ | |||
17 | #ifndef __MACH_TEGRA_CPUIDLE_H | 17 | #ifndef __MACH_TEGRA_CPUIDLE_H |
18 | #define __MACH_TEGRA_CPUIDLE_H | 18 | #define __MACH_TEGRA_CPUIDLE_H |
19 | 19 | ||
20 | #ifdef CONFIG_ARCH_TEGRA_2x_SOC | 20 | #ifdef CONFIG_CPU_IDLE |
21 | int tegra20_cpuidle_init(void); | 21 | int tegra20_cpuidle_init(void); |
22 | #else | ||
23 | static inline int tegra20_cpuidle_init(void) { return -ENODEV; } | ||
24 | #endif | ||
25 | |||
26 | #ifdef CONFIG_ARCH_TEGRA_3x_SOC | ||
27 | int tegra30_cpuidle_init(void); | 22 | int tegra30_cpuidle_init(void); |
28 | #else | ||
29 | static inline int tegra30_cpuidle_init(void) { return -ENODEV; } | ||
30 | #endif | ||
31 | |||
32 | #ifdef CONFIG_ARCH_TEGRA_114_SOC | ||
33 | int tegra114_cpuidle_init(void); | 23 | int tegra114_cpuidle_init(void); |
34 | #else | ||
35 | static inline int tegra114_cpuidle_init(void) { return -ENODEV; } | ||
36 | #endif | ||
37 | |||
38 | #ifdef CONFIG_CPU_IDLE | ||
39 | void tegra_cpuidle_init(void); | 24 | void tegra_cpuidle_init(void); |
40 | #else | 25 | #else |
41 | static inline void tegra_cpuidle_init(void) {} | 26 | static inline void tegra_cpuidle_init(void) {} |