ARM: Only allow PM_SLEEP with CPUs which support suspend
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Apr 2011 09:15:28 +0000 (10:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Apr 2011 09:15:28 +0000 (10:15 +0100)
commit6a7861825f79f09213ef81b3c468f6f2e86f408e
treeb87139c7b3113c2085efcf023a87e42c934007c3
parent29ea23ff905d07d8559bac69cca46f4bbf20038c
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>
arch/arm/Kconfig