]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:36:48 +0000 (16:36 +0100)
commitbb12eaad6667e056fa818df77ee6fbf822686da7
treea34b93e4c1ba7665ad667f2b79bbce2d2995f371
parent38df9c72c4b60a3e68a73246215a2fe36bfa3a3d
mfd: MFD_SL28CPLD should depend on ARCH_LAYERSCAPE

BugLink: https://bugs.launchpad.net/bugs/1910111
[ 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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/mfd/Kconfig