aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-04-02 05:15:28 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-04-02 05:15:28 -0400
commit6a7861825f79f09213ef81b3c468f6f2e86f408e (patch)
treeb87139c7b3113c2085efcf023a87e42c934007c3 /arch/arm/Kconfig
parent29ea23ff905d07d8559bac69cca46f4bbf20038c (diff)
ARM: Only allow PM_SLEEP with CPUs which support suspend
Offering CONFIG_PM_SLEEP for CPUs which do not support suspend leads to build errors, so only set CONFIG_ARCH_SUSPEND_POSSIBLE if we have a CPU selected which supports suspend. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5b9f78b570e8..9954c9bef679 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2012,6 +2012,8 @@ source "kernel/power/Kconfig"
2012 2012
2013config ARCH_SUSPEND_POSSIBLE 2013config ARCH_SUSPEND_POSSIBLE
2014 depends on !ARCH_S5P64X0 && !ARCH_S5P6442 2014 depends on !ARCH_S5P64X0 && !ARCH_S5P6442
2015 depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
2016 CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE
2015 def_bool y 2017 def_bool y
2016 2018
2017endmenu 2019endmenu