Kaynağa Gözat

rtc: asm9260: allow COMPILE_TEST

The rtc-asm9260 driver compiles correctly on other architectures, add
COMPILE_TEST to improve code coverage.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni 9 yıl önce
ebeveyn
işleme
7f742e8e8a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      drivers/rtc/Kconfig

+ 1 - 1
drivers/rtc/Kconfig

@@ -1205,7 +1205,7 @@ comment "on-CPU RTC drivers"
 
 
 config RTC_DRV_ASM9260
 config RTC_DRV_ASM9260
 	tristate "Alphascale asm9260 RTC"
 	tristate "Alphascale asm9260 RTC"
-	depends on MACH_ASM9260
+	depends on MACH_ASM9260 || COMPILE_TEST
 	help
 	help
 	  If you say yes here you get support for the RTC on the
 	  If you say yes here you get support for the RTC on the
 	  Alphascale asm9260 SoC.
 	  Alphascale asm9260 SoC.