Re: [PATCH] pinctrl: imx8m: kconfig: Fix build error on test compile

From: Linus Walleij
Date: Thu Sep 08 2022 - 04:08:13 EST


On Tue, Sep 6, 2022 at 12:44 AM Francesco Dolcini
<francesco.dolcini@xxxxxxxxxxx> wrote:

> PINCTRL_IMX depends on OF, however the dependency is missed when selected
> by PINCTRL_IMX8M* (it does not follow the indirect 'select' statements),
> select it explicitly.
>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Link: https://lore.kernel.org/all/202209050605.fezJUgFH-lkp@xxxxxxxxx/
> Fixes: 87c2a29a6bf1 ("pinctrl: imx8m: kconfig: Depends on SOC_IMX8M")
> Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
> ---
> Linus: I did test on s390 and it's fine, but the topic is tricky for me ...

This is tricky for everyone, has to do with the Kconfig "language".
Thanks! Patch applied.

Yours,
LInus Walleij