]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerLee Jones <lee.jones@linaro.org>
Thu, 19 Nov 2020 08:34:23 +0000 (08:34 +0000)
commitda00a7fc7551d59d7babc55eee651735df7b9fea
tree7f4da39671548ab38234bfd31d024be67c766847
parentbe54c76c4f2526633ca4cd1ec884bb3995e1369f
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: 8b0383f4e6c278b8 ("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>
drivers/mfd/Kconfig