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

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