summaryrefslogtreecommitdiffstats
path: root/include/soc/tegra/pm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/soc/tegra/pm.h')
-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);
OpenPOWER on IntegriCloud