rtc: asm9260: allow COMPILE_TEST
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 31 Aug 2016 16:15:27 +0000 (18:15 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 5 Sep 2016 15:15:50 +0000 (17:15 +0200)
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>
drivers/rtc/Kconfig

index 23acc3f536b35ca611b203b71f69cc4232c11bce..896302a0d4b9d2313139ec45f1445d99b9421e80 100644 (file)
@@ -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.