ARM: s3c64xx: select power domains only when used
authorArnd Bergmann <arnd@arndb.de>
Thu, 13 Mar 2014 13:35:38 +0000 (14:35 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:26:17 +0000 (18:26 +0100)
commit4ab75a3f3ddb840cc93446ebbcad8838e337d53f
treed8d3f4077ee3a2103457a8395216d965e19ccffb
parentb25a1b64e19acfe1e497ef4391c775321084b1ba
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 <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
arch/arm/Kconfig