Subject: [PATCH] ARM: OMAP2+: fix CONFIG_CPU_IDLE dependency on CONFIG_PM

From: [email-masked] (Tony Lindgren)
Date: Fri, 29 Jun 2012 06:04:08 -0700

* Kevin Hilman <[email-masked]> [120628 09:49]:
> commit 164e0cbf60 (ARM: OMAP3/4: consolidate cpuidle Makefile) added
> an OMAP-specific dependency from CPU_IDLE to CONFIG_PM.  This causes
> some randconfig warnings when CONFIG_PM has unmet dependencies:
> 
> warning: (ARCH_OMAP3 && ARCH_OMAP4) selects PM which has unmet direct dependencies (PM_SLEEP || PM_RUNTIME)
> warning: (ARCH_OMAP3 && ARCH_OMAP4) selects PM which has unmet direct dependencies (PM_SLEEP || PM_RUNTIME)
> warning: (ARCH_OMAP3 && ARCH_OMAP4) selects PM which has unmet direct dependencies (PM_SLEEP || PM_RUNTIME)
> 
> Fix this by making the dependency on CONFIG_PM_RUNTIME (which in turn
> will enable CONFIG_PM.)
> 
> Reported-by: Tony Lindgren <[email-masked]>
> Cc: Daniel Lezcano <[email-masked]>
> Signed-off-by: Kevin Hilman <[email-masked]>
> ---
> Tony, this fixes the randconfig problems you mentioned.  It applies on
> top of your testing-board branch, where the commit that introduced this
> problem is applied.

Thanks applying into fixes-non-critical. The warning is there already in
fixes-non-critical, testing-board was just based on that.

Tony