diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index ca2685e78..dbcb3c23a 100755 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1860,7 +1860,8 @@ config RTC_DRV_MT2712 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