[PATCH] soc: imx: add PM dependency for IMX7_PM_DOMAINS

Shawn Guo shawnguo at kernel.org
Thu May 11 20:51:39 PDT 2017


On Thu, May 11, 2017 at 01:37:47PM +0200, Arnd Bergmann wrote:
> The new pm domain driver causes a build failure when CONFIG_PM
> is not set:
> 
> warning: (IMX7_PM_DOMAINS) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM)
> drivers/base/power/domain_governor.c: In function 'default_suspend_ok':
> drivers/base/power/domain_governor.c:75:17: error: 'struct dev_pm_info' has no member named 'ignore_children'
> 
> This adds a dependency to ensure that we don't attempt to build the
> driver without CONFIG_PM.
> 
> Fixes: 03aa12629fc4 ("soc: imx: Add GPCv2 power gating driver")
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Applied, thanks.



More information about the linux-arm-kernel mailing list