Commit de129281 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Lee Jones
Browse files

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: a538ad22 ("mfd: simple-mfd-i2c: Add sl28cpld support")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarMichael Walle <michael@walle.cc>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 4556fe8f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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