From: Arnd Bergmann <arnd@arndb.de>
Date: Mon, 17 Jun 2013 07:56:42 +0000 (+0200)
Subject: ARM: exynos: select PM_GENERIC_DOMAINS only when used
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c1fe55e0b6227093d6faa09ce6932fbcd86aeea2;p=openwrt%2Fstaging%2Fblogic.git

ARM: exynos: select PM_GENERIC_DOMAINS only when used

This fixes building exynos kernels with CONFIG_PM disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Kukjin Kim <kgene.kim@samsung.com>
---

diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 2d503b3684c4..ba70a846d1c6 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -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