public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH mfd] mfd: asic3: build if COMPILE_TEST=y
@ 2020-09-17 19:31 Marek Behún
  2020-09-29  9:48 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Behún @ 2020-09-17 19:31 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-leds, Dan Murphy, Marek Behún, Lee Jones, Pavel Machek,
	Phil Blundell, Samuel Ortiz

Build this driver on another platforms if COMPILE_TEST=y. Another
drivers may depend on this, for example leds-asic3.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Phil Blundell <pb@handhelds.org>
Cc: Samuel Ortiz <sameo@openedhand.com>
---
 drivers/mfd/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 33df0837ab415..599a01aee7abe 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -290,7 +290,8 @@ config MFD_CS47L92
 
 config MFD_ASIC3
 	bool "Compaq ASIC3"
-	depends on GPIOLIB && ARM
+	depends on GPIOLIB
+	depends on ARM || COMPILE_TEST
 	select MFD_CORE
 	help
 	  This driver supports the ASIC3 multifunction chip found on many
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH mfd] mfd: asic3: build if COMPILE_TEST=y
  2020-09-17 19:31 [PATCH mfd] mfd: asic3: build if COMPILE_TEST=y Marek Behún
@ 2020-09-29  9:48 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2020-09-29  9:48 UTC (permalink / raw)
  To: Marek Behún
  Cc: linux-kernel, linux-leds, Dan Murphy, Pavel Machek, Phil Blundell,
	Samuel Ortiz

On Thu, 17 Sep 2020, Marek Behún wrote:

> Build this driver on another platforms if COMPILE_TEST=y. Another
> drivers may depend on this, for example leds-asic3.
> 
> Signed-off-by: Marek Behún <marek.behun@nic.cz>
> Cc: Lee Jones <lee.jones@linaro.org>
> Cc: Pavel Machek <pavel@ucw.cz>
> Cc: Phil Blundell <pb@handhelds.org>
> Cc: Samuel Ortiz <sameo@openedhand.com>
> ---
>  drivers/mfd/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Seems fine.  At least on first blush.

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-09-29  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-17 19:31 [PATCH mfd] mfd: asic3: build if COMPILE_TEST=y Marek Behún
2020-09-29  9:48 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox