mfd: Kconfig: ABX500_CORE should depend on ARCH_U8500
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 16 Mar 2021 13:37:00 +0000 (14:37 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:06:19 +0000 (16:06 +0100)
commit0cab0aa14928ddf626d9e55944b59a3520187ac7
treea803eeb7bfcda1b41df8c69db9a18f8c9a1fb436
parent4502647e60cb4afd74f74d648bc2990954c1b73a
mfd: Kconfig: ABX500_CORE should depend on ARCH_U8500

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@glider.be>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig