linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtc: mxc{,_v2}: enable COMPILE_TEST
@ 2020-11-21 22:45 Alexandre Belloni
  2020-11-21 23:18 ` Fabio Estevam
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Belloni @ 2020-11-21 22:45 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni
  Cc: Fabio Estevam, linux-rtc, linux-kernel

Extend code coverage for the rtc-mxc and rtc-mxc-v2 drivers.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/Kconfig | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 4d2c5d1f75cc..9341ab15241e 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1754,7 +1754,9 @@ config RTC_DRV_LOONGSON1
 
 config RTC_DRV_MXC
 	tristate "Freescale MXC Real Time Clock"
-	depends on ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
+	depends on HAS_IOMEM
+	depends on OF
 	help
 	   If you say yes here you get support for the Freescale MXC
 	   RTC module.
@@ -1764,7 +1766,9 @@ config RTC_DRV_MXC
 
 config RTC_DRV_MXC_V2
 	tristate "Freescale MXC Real Time Clock for i.MX53"
-	depends on ARCH_MXC
+	depends on ARCH_MXC || COMPILE_TEST
+	depends on HAS_IOMEM
+	depends on OF
 	help
 	   If you say yes here you get support for the Freescale MXC
 	   SRTC module in i.MX53 processor.
-- 
2.28.0


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

* Re: [PATCH] rtc: mxc{,_v2}: enable COMPILE_TEST
  2020-11-21 22:45 [PATCH] rtc: mxc{,_v2}: enable COMPILE_TEST Alexandre Belloni
@ 2020-11-21 23:18 ` Fabio Estevam
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2020-11-21 23:18 UTC (permalink / raw)
  To: Alexandre Belloni
  Cc: Alessandro Zummo, open list:REAL TIME CLOCK (RTC) SUBSYSTEM,
	linux-kernel

On Sat, Nov 21, 2020 at 7:45 PM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> Extend code coverage for the rtc-mxc and rtc-mxc-v2 drivers.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>

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

end of thread, other threads:[~2020-11-21 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21 22:45 [PATCH] rtc: mxc{,_v2}: enable COMPILE_TEST Alexandre Belloni
2020-11-21 23:18 ` Fabio Estevam

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).