Browse Source

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 years ago
parent
commit
7f742e8e8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/rtc/Kconfig

+ 1 - 1
drivers/rtc/Kconfig

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