Re: [PATCH] pinctrl: freescale: Add helper dependency on COMPILE_TEST
From: Fabio Estevam
Date: Thu Sep 23 2021 - 18:17:32 EST
Hi Cai,
On Fri, Sep 17, 2021 at 11:26 PM Cai Huoqing <caihuoqing@xxxxxxxxx> wrote:
> > I am not sure why you need the && OF, as we have a "select PINCTRL_IMX",
> > that already depends on OF.
> No, it's just an invalid dependency. PINCTRL_IMX can be selected without OF
I don't understand your statement.
>From drivers/pinctrl/freescale/Kconfig:
config PINCTRL_IMX
tristate
depends on OF
So PINCTRL_IMX depends on OF, which means that it can only be selected
when CONFIG_OF=y.