* [PATCH v2] mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE
@ 2020-11-10 15:57 Geert Uytterhoeven
2020-11-13 10:13 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-11-10 15:57 UTC (permalink / raw)
To: Lee Jones
Cc: Michael Walle, linux-arm-kernel, linux-kernel, Geert Uytterhoeven
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>
---
v2:
- Add Acked-by.
---
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index cc0b73280c68c7ba..10864cc38c17b4ed 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1199,6 +1199,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
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE
2020-11-10 15:57 [PATCH v2] mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE Geert Uytterhoeven
@ 2020-11-13 10:13 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2020-11-13 10:13 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Michael Walle, linux-arm-kernel, linux-kernel
On Tue, 10 Nov 2020, Geert Uytterhoeven wrote:
> 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>
> ---
> v2:
> - Add Acked-by.
> ---
> drivers/mfd/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-13 10:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 15:57 [PATCH v2] mfd: MFD_SL28CPLD should depends on ARCH_LAYERSCAPE Geert Uytterhoeven
2020-11-13 10:13 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).