ARM: exynos: select PM_GENERIC_DOMAINS only when used
authorArnd Bergmann <arnd@arndb.de>
Mon, 17 Jun 2013 07:56:42 +0000 (09:56 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 6 Jul 2013 00:01:04 +0000 (02:01 +0200)
This fixes building exynos kernels with CONFIG_PM disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/Kconfig

index 2d503b3..ba70a84 100644 (file)
@@ -38,7 +38,7 @@ config CPU_EXYNOS4210
        depends on ARCH_EXYNOS4
        select ARM_CPU_SUSPEND if PM
        select PINCTRL_EXYNOS
-       select PM_GENERIC_DOMAINS
+       select PM_GENERIC_DOMAINS if PM
        select S5P_PM if PM
        select S5P_SLEEP if PM
        select SAMSUNG_DMADEV