Re: [PATCH -next] imx7: fix Kconfig warning and build errors

From: Fabio Estevam
Date: Wed Apr 12 2017 - 14:26:49 EST


On Wed, Apr 12, 2017 at 3:22 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> --- linux-next-20170412.orig/drivers/soc/imx/Kconfig
> +++ linux-next-20170412/drivers/soc/imx/Kconfig
> @@ -2,6 +2,7 @@ menu "i.MX SoC drivers"
>
> config IMX7_PM_DOMAINS
> bool "i.MX7 PM domains"
> + depends on PM
> select PM_GENERIC_DOMAINS

Could this be:

select PM_GENERIC_DOMAINS if PM instead?