From: Arnd Bergmann Date: Thu, 13 Mar 2014 13:35:38 +0000 (+0100) Subject: ARM: s3c64xx: select power domains only when used X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=4ab75a3f3ddb840cc93446ebbcad8838e337d53f;p=deliverable%2Flinux.git ARM: s3c64xx: select power domains only when used The power domain code is only available when CONFIG_PM is enabled, so we must not select that unconditionally for s3c64xx. Changing it to 'select PM_GENERIC_DOMAINS if PM' mirrors what we do on other platforms, and fixes a possible randconfig build bug. Signed-off-by: Arnd Bergmann Acked-by: Kukjin Kim Cc: Tomasz Figa Cc: Ben Dooks --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2d93211c6879..c076165545a2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -766,7 +766,7 @@ config ARCH_S3C64XX select HAVE_TCM select NO_IOPORT select PLAT_SAMSUNG - select PM_GENERIC_DOMAINS + select PM_GENERIC_DOMAINS if PM select S3C_DEV_NAND select S3C_GPIO_TRACK select SAMSUNG_ATAGS