Skip to contentSkip to conversation

rtc: snvs: Improve Kconfig dependency

PATCH Applied Anson Huang 2 participants 2 messages Mar 2, 2020 – Mar 3, 2020 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: snvs: Improve Kconfig dependency

i.MX SNVS RTC should depend on ARCH_MXC or COMPILE_TEST.

---
 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/rtc/Kconfig +1 -0
index 34c8b6c..acaf6f98 100644
@@ -1761,6 +1761,7 @@ config RTC_DRV_MXC_V2
 config RTC_DRV_SNVS
 	tristate "Freescale SNVS RTC support"
 	select REGMAP_MMIO
+	depends on ARCH_MXC || COMPILE_TEST
 	depends on HAS_IOMEM
 	depends on OF
 	help
Signature · 1 line
2.7.4
maintainer Applied
#1 lore raw
Quoted 7 lines · Anson Huang

i.MX SNVS RTC should depend on ARCH_MXC or COMPILE_TEST.

---
 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com