[PATCH] soc: imx: add PM dependency for IMX7_PM_DOMAINS
Fabio Estevam
festevam at gmail.com
Thu May 11 04:39:56 PDT 2017
On Thu, May 11, 2017 at 8:37 AM, Arnd Bergmann <arnd at arndb.de> 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>
Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>
More information about the linux-arm-kernel
mailing list