mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
mfd: MFD_SL28CPLD should depend on ARCH_LAYERSCAPE
[ Upstream commitde1292817c] 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:a538ad229b("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>
This commit is contained in:
parent
0300c81452
commit
b278cdb100
|
|
@ -1189,6 +1189,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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user