Re: [PATCH] gpio: GPIO_MXS should not default to y, unconditionally

From: Linus Walleij
Date: Fri Feb 12 2021 - 08:12:09 EST


On Mon, Feb 8, 2021 at 3:51 PM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:

> Merely enabling CONFIG_COMPILE_TEST should not enable additional code.
> To fix this, restrict the automatic enabling of GPIO_MXS to ARCH_MXS,
> and ask the user in case of compile-testing.
>
> Fixes: 6876ca311bfca5d7 ("gpio: mxs: add COMPILE_TEST support for GPIO_MXS")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij