aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Walmsley <[email protected]>2014-12-09 22:36:50 +0000
committerThierry Reding <[email protected]>2015-01-09 13:41:19 +0100
commit2b20b6164ec737bec67641564e477aa6e008748b (patch)
tree71c282f954dd3fe063e4fd9c6c1677d26bcf065f /include
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
soc/tegra: pmc: restrict compilation of suspend-related support to ARM
Tegra SoCs with 64-bit ARM support don't currently support deep CPU low-power states in mainline Linux. When this support is added in the future, it will probably look rather different from the existing 32-bit ARM support, since the ARM64 maintainers' strong preference is to use PSCI to implement it. So, for the time being, prevent the CPU suspend-related code and data in the Tegra PMC driver from compiling on ARM64. Signed-off-by: Paul Walmsley <[email protected]> Signed-off-by: Paul Walmsley <[email protected]> Cc: Thierry Reding <[email protected]> Cc: Allen Martin <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Alexandre Courbot <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/soc/tegra/pm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/tegra/pm.h b/include/soc/tegra/pm.h
index 30fe2078a547..03909101d4e7 100644
--- a/include/soc/tegra/pm.h
+++ b/include/soc/tegra/pm.h
@@ -17,7 +17,7 @@ enum tegra_suspend_mode {
TEGRA_MAX_SUSPEND_MODE,
};
-#ifdef CONFIG_PM_SLEEP
+#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM)
enum tegra_suspend_mode
tegra_pm_validate_suspend_mode(enum tegra_suspend_mode mode);