The Marvell RTC rtc driver cannot build without access to some
platform specific header files. Express that requirements in Kconfig as
well.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 drivers/rtc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 79b879d68d1b..ed903999f067 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -218,7 +218,7 @@ config RTC_PL031
 
 config RTC_MV
        bool "Enable Marvell RTC driver"
-       depends on DM_RTC
+       depends on DM_RTC && ARCH_KIRKWOOD
        help
          Enable Marvell RTC driver. This driver supports the rtc that is 
present
          on some Marvell SoCs.
-- 
2.43.0

Reply via email to