public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: sun6i-prcm: Allow to compile with COMPILE_TEST
@ 2019-03-22  9:16 Maxime Ripard
  2019-03-26 19:08 ` Maxime Ripard
  2019-04-03  7:38 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Maxime Ripard @ 2019-03-22  9:16 UTC (permalink / raw)
  To: Lee Jones; +Cc: Chen-Yu Tsai, Maxime Ripard, Stephen Rothwell, linux-kernel

Since this driver only has a dependency on ARCH_SUNXI just because it
doesn't make any sense to run it on something else, we can definitely
enable it through COMPILE_TEST as well to get some build coverage.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 0ce2d8dfc5f1..26ad6468d13a 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1246,7 +1246,7 @@ config MFD_STA2X11
 
 config MFD_SUN6I_PRCM
 	bool "Allwinner A31 PRCM controller"
-	depends on ARCH_SUNXI
+	depends on ARCH_SUNXI || COMPILE_TEST
 	select MFD_CORE
 	help
 	  Support for the PRCM (Power/Reset/Clock Management) unit available
-- 
2.20.1


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

* Re: [PATCH] mfd: sun6i-prcm: Allow to compile with COMPILE_TEST
  2019-03-22  9:16 [PATCH] mfd: sun6i-prcm: Allow to compile with COMPILE_TEST Maxime Ripard
@ 2019-03-26 19:08 ` Maxime Ripard
  2019-04-03  7:38 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2019-03-26 19:08 UTC (permalink / raw)
  To: Lee Jones; +Cc: Chen-Yu Tsai, Stephen Rothwell, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

Hi Lee,

On Fri, Mar 22, 2019 at 10:16:50AM +0100, Maxime Ripard wrote:
> Since this driver only has a dependency on ARCH_SUNXI just because it
> doesn't make any sense to run it on something else, we can definitely
> enable it through COMPILE_TEST as well to get some build coverage.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>

This one fixes a Kconfig warning in linux-next, could you merge it?

Thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] mfd: sun6i-prcm: Allow to compile with COMPILE_TEST
  2019-03-22  9:16 [PATCH] mfd: sun6i-prcm: Allow to compile with COMPILE_TEST Maxime Ripard
  2019-03-26 19:08 ` Maxime Ripard
@ 2019-04-03  7:38 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2019-04-03  7:38 UTC (permalink / raw)
  To: Maxime Ripard; +Cc: Chen-Yu Tsai, Stephen Rothwell, linux-kernel

On Fri, 22 Mar 2019, Maxime Ripard wrote:

> Since this driver only has a dependency on ARCH_SUNXI just because it
> doesn't make any sense to run it on something else, we can definitely
> enable it through COMPILE_TEST as well to get some build coverage.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
> ---
>  drivers/mfd/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2019-04-03  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-22  9:16 [PATCH] mfd: sun6i-prcm: Allow to compile with COMPILE_TEST Maxime Ripard
2019-03-26 19:08 ` Maxime Ripard
2019-04-03  7:38 ` Lee Jones

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