mfd: MFD_SL28CPLD should depend on ARCH_LAYERSCAPE
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Nov 2020 15:57:27 +0000 (16:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:53:16 +0000 (11:53 +0100)
commitb278cdb100399bbe233d8072d03884c52b7079fa
tree458a56bce9df946bd53776045716ef4b8a47fbb8
parent0300c814520acef6d288551209f320a96fb9c0cc
mfd: MFD_SL28CPLD should depend on ARCH_LAYERSCAPE

[ Upstream commit de1292817cf736c04fab31903a6aa9d9ffe60b79 ]

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 <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>
drivers/mfd/Kconfig