summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/cpuidle.h
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2013-01-21 17:49:06 +0800
committerStephen Warren <swarren@nvidia.com>2013-01-29 11:01:23 -0700
commit51dc5259e8e1a05b9224e0c3ad61ebc3dc17d885 (patch)
tree02654cf268a2fa641dcecc4a3de9a9e4356b18d2 /arch/arm/mach-tegra/cpuidle.h
parent2da139657b108ab4485640178dd4d7f3ca931065 (diff)
downloadlinux-51dc5259e8e1a05b9224e0c3ad61ebc3dc17d885.tar.bz2
ARM: tegra: add Tegra114 ARM_CPUIDLE_WFI_STATE support
Adding the generic ARM_CPUIDLE_WFI_STATE support for Tegra114. Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle.h')
-rw-r--r--arch/arm/mach-tegra/cpuidle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/cpuidle.h b/arch/arm/mach-tegra/cpuidle.h
index 496204d34e55..d733f75d0208 100644
--- a/arch/arm/mach-tegra/cpuidle.h
+++ b/arch/arm/mach-tegra/cpuidle.h
@@ -29,4 +29,10 @@ int tegra30_cpuidle_init(void);
static inline int tegra30_cpuidle_init(void) { return -ENODEV; }
#endif
+#ifdef CONFIG_ARCH_TEGRA_114_SOC
+int tegra114_cpuidle_init(void);
+#else
+static inline int tegra114_cpuidle_init(void) { return -ENODEV; }
+#endif
+
#endif