diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 0ad8d84aeb33..22638878c981 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1811,7 +1811,8 @@ config RTC_DRV_MOXART config RTC_DRV_MT6397 tristate "MediaTek PMIC based RTC" - depends on MFD_MT6397 || (COMPILE_TEST && IRQ_DOMAIN) + depends on MFD_MT6397 || COMPILE_TEST + select IRQ_DOMAIN help This selects the MediaTek(R) RTC driver. RTC is part of MediaTek MT6397 PMIC. You should enable MT6397 PMIC MFD before select