Skip to content

Commit b278cdb

Browse files
geertugregkh
authored andcommitted
mfd: MFD_SL28CPLD should depend on ARCH_LAYERSCAPE
[ Upstream commit de12928 ] 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: a538ad2 ("mfd: simple-mfd-i2c: Add sl28cpld support") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Michael Walle <michael@walle.cc> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 0300c81 commit b278cdb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/mfd/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,6 +1189,7 @@ config MFD_SIMPLE_MFD_I2C
11891189
config MFD_SL28CPLD
11901190
tristate "Kontron sl28cpld Board Management Controller"
11911191
depends on I2C
1192+
depends on ARCH_LAYERSCAPE || COMPILE_TEST
11921193
select MFD_SIMPLE_MFD_I2C
11931194
help
11941195
Say yes here to enable support for the Kontron sl28cpld board

0 commit comments

Comments
 (0)