summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-03-02 16:13:05 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-03-16 11:12:08 +0100
commitb427ca8c663ea32c67702b2ff5fb19aabd57fa7f (patch)
tree67f0c69efbafbb5a9c334865b9809454333cf054 /drivers/rtc/Kconfig
parentae243ef0afbcbf2e68e2afd5e33753eb2e03d5d6 (diff)
downloadlinux-b427ca8c663ea32c67702b2ff5fb19aabd57fa7f.tar.bz2
rtc: snvs: Improve Kconfig dependency
i.MX SNVS RTC should depend on ARCH_MXC or COMPILE_TEST. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1583136785-4973-1-git-send-email-Anson.Huang@nxp.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 34c8b6c7e095..acaf6f98b54e 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -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