rtc: fsl-ftm-alarm: allow COMPILE_TEST
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 6 Mar 2020 13:16:28 +0000 (14:16 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Mar 2020 10:12:10 +0000 (11:12 +0100)
Allow building building the driver with COMPILE_TEST.

Link: https://lore.kernel.org/r/20200306131629.18837-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index acaf6f9..7770476 100644 (file)
@@ -1334,7 +1334,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
        help
           For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
           LS1088A, LS208xA, we can use FTM as the wakeup source.