Re: [PATCH] mfd: ABX500_CORE should depend on ARCH_U8500

From: Linus Walleij
Date: Sat Mar 20 2021 - 08:02:32 EST


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

> The ST-Ericsson ABX500 Mixed Signal IC family chips are only present on
> ST-Ericsson U8500 Series platforms. Hence add a dependency on
> ARCH_U8500, to prevent asking the user about this driver when
> configuring a kernel without U8500 support.
>
> Also, merely enabling CONFIG_COMPILE_TEST should not enable additional
> code, and thus should not enable this driver by default.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Very nice. Good catch!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij