[PATCH] mfd: ABX500_CORE should depend on ARCH_U8500

Linus Walleij linus.walleij at linaro.org
Sat Mar 20 12:01:45 GMT 2021


On Tue, Mar 16, 2021 at 2:37 PM Geert Uytterhoeven
<geert+renesas at glider.be> 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 at glider.be>

Very nice. Good catch!
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list