Re: [PATCH] pinctrl: PINCTRL_ROCKCHIP should depend on ARCH_ROCKCHIP

From: Linus Walleij
Date: Thu Mar 25 2021 - 05:18:21 EST


On Tue, Mar 16, 2021 at 2:41 PM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:

> The Rockchip GPIO and pin control modules are only present on Rockchip
> SoCs. Hence add a dependency on ARCH_ROCKCHIP, to prevent asking the
> user about this driver when configuring a kernel without Rockchip
> platform support.
>
> Note that before, the PINCTRL_ROCKCHIP symbol was not visible, and
> automatically selected when needed. By making it tristate and
> user-selectable, it became visible for everyone.
>
> Fixes: be786ac5a6c4bf4e ("pinctrl: rockchip: make driver be tristate module")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Patch applied.

I saw this was causing issues on S390.

Yours,
Linus Walleij