> -----Original Message----- > From: Abel Vesa > Sent: Sunday, December 23, 2018 3:00 PM > To: Shawn Guo <[email protected]>; Sascha Hauer > <[email protected]>; Fabio Estevam <[email protected]> > Cc: dl-linux-imx <[email protected]>; [email protected]; > Linux Kernel Mailing List <[email protected]>; Abel Vesa > <[email protected]> > Subject: [PATCH] soc: imx: Break dependency on SOC_IMX8MQ for GPCv2 > > Since this is going to be used on more SoCs than just i.MX8MQ, make the > dependency here more generic. > > Signed-off-by: Abel Vesa <[email protected]> > --- > drivers/soc/imx/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/soc/imx/Kconfig b/drivers/soc/imx/Kconfig index > 2112d18..7ffbb6b 100644 > --- a/drivers/soc/imx/Kconfig > +++ b/drivers/soc/imx/Kconfig > @@ -2,7 +2,7 @@ menu "i.MX SoC drivers" > > config IMX_GPCV2_PM_DOMAINS > bool "i.MX GPCv2 PM domains" > - depends on SOC_IMX7D || SOC_IMX8MQ || (COMPILE_TEST && OF) > + depends on SOC_IMX7D || ARCH_MXC || (COMPILE_TEST && OF)
Nitpick: ARCH_MXC already contains SOC_IMX7D, so simply depends on ARCH_MXC || (COMPILE_TEST && OF) should be enough. Otherwise: Reviewed-by: Dong Aisheng <[email protected]> Regards Dong Aisheng > depends on PM > select PM_GENERIC_DOMAINS > default y if SOC_IMX7D > -- > 2.7.4

