diff mbox series

[mfd] mfd: asic3: build if COMPILE_TEST=y

Message ID 20200917193140.5324-1-marek.behun@nic.cz
State New
Headers show
Series [mfd] mfd: asic3: build if COMPILE_TEST=y | expand

Commit Message

Marek Behún Sept. 17, 2020, 7:31 p.m. UTC
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(-)

Comments

Lee Jones Sept. 29, 2020, 9:48 a.m. UTC | #1
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.
diff mbox series

Patch

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