Building qemu_arm64_defconfig with CONFIGS_DM_RTC=n and CONFIGS_RTC_PL031=y
leads to a build failure.

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

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 7fc53a6d61e..9c2d1398247 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -203,6 +203,7 @@ config RTC_RX8025
 
 config RTC_PL031
        bool "Enable ARM AMBA PL031 RTC driver"
+       depends on DM_RTC
        help
          The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
          peripheral based on the Advanced Microcontroller Bus Architecture
-- 
2.45.2

Reply via email to