summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/cpuidle.h
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2013-01-21 10:49:06 +0100
committerStephen Warren <swarren@nvidia.com>2013-01-29 19:01:23 +0100
commit51dc5259e8e1a05b9224e0c3ad61ebc3dc17d885 (patch)
tree02654cf268a2fa641dcecc4a3de9a9e4356b18d2 /arch/arm/mach-tegra/cpuidle.h
parentARM: tegra: Add SMMU entry to Tegra114 DT (diff)
downloadlinux-51dc5259e8e1a05b9224e0c3ad61ebc3dc17d885.tar.xz
linux-51dc5259e8e1a05b9224e0c3ad61ebc3dc17d885.zip
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 '')
-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