From: Geert Uytterhoeven Date: Tue, 10 Nov 2020 15:57:27 +0000 (+0100) Subject: mfd: MFD_SL28CPLD should depend on ARCH_LAYERSCAPE X-Git-Tag: v5.15~2155^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de1292817cf736c04fab31903a6aa9d9ffe60b79;p=platform%2Fkernel%2Flinux-starfive.git mfd: MFD_SL28CPLD should depend on ARCH_LAYERSCAPE Currently the Kontron sl28cpld Board Management Controller is found only on Kontron boards equipped with a Freescale Layerscape SoC. Hence add a dependency on ARCH_LAYERSCAPE, to prevent asking the user about a driver for this controller when configuring a kernel without Layerscape support. Fixes: a538ad229bbee4f8 ("mfd: simple-mfd-i2c: Add sl28cpld support") Signed-off-by: Geert Uytterhoeven Acked-by: Michael Walle Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index cc0b7328..10864cc 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1199,6 +1199,7 @@ config MFD_SIMPLE_MFD_I2C config MFD_SL28CPLD tristate "Kontron sl28cpld Board Management Controller" depends on I2C + depends on ARCH_LAYERSCAPE || COMPILE_TEST select MFD_SIMPLE_MFD_I2C help Say yes here to enable support for the Kontron sl28cpld board