[PATCH 48/62] ARM: s3c64xx: select power domains only when used

Kukjin Kim kgene.kim at samsung.com
Wed Mar 19 23:56:34 EDT 2014


Arnd Bergmann wrote:
> 
> 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 at arndb.de>
> Cc: Tomasz Figa <tomasz.figa at gmail.com>
> Cc: Kukjin Kim <kgene.kim at samsung.com>

Acked-by: Kukjin Kim <kgene.kim at samsung.com>

Thanks,
Kukjin

> Cc: Ben Dooks <ben-linux at fluff.org>
> ---
>  arch/arm/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 4721007..6ffcadd 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -764,7 +764,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
> --
> 1.8.3.2




More information about the linux-arm-kernel mailing list