Allow building building the driver with COMPILE_TEST.

Signed-off-by: Alexandre Belloni <alexandre.bell...@bootlin.com>
---
 drivers/rtc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index f28aee483c55..4185b0d27021 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1325,7 +1325,7 @@ config RTC_DRV_IMXDI
 
 config RTC_DRV_FSL_FTM_ALARM
        tristate "Freescale FlexTimer alarm timer"
-       depends on ARCH_LAYERSCAPE || SOC_LS1021A
+       depends on ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
        select FSL_RCPM
        default y
        help
-- 
2.21.0

Reply via email to