Skip to contentSkip to conversation

mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE

PATCH Superseded Geert Uytterhoeven 2 participants 2 messages Oct 14, 2020 Multifunction devices (MFD)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: MFD_SL28CPLD should depends 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 a538ad229bbee4f8 ("mfd: simple-mfd-i2c: Add sl28cpld support")
---
 drivers/mfd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mfd/Kconfig +1 -0
index 8b99a13669bfc594..4789507f325b82ee 100644
@@ -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
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw

Am 2020-10-14 15:12, schrieb Geert Uytterhoeven:

Quoted 7 lines

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")