2020-03-02 08:21:01

by Anson Huang

[permalink] [raw]
Subject: [PATCH] rtc: snvs: Improve Kconfig dependency

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

Signed-off-by: Anson Huang <[email protected]>
---
drivers/rtc/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 34c8b6c..acaf6f98 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
--
2.7.4


2020-03-03 16:07:31

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] rtc: snvs: Improve Kconfig dependency

On 02/03/2020 16:13:05+0800, Anson Huang wrote:
> i.MX SNVS RTC should depend on ARCH_MXC or COMPILE_TEST.
>
> Signed-off-by: Anson Huang <[email protected]>
> ---
> drivers/rtc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com