]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rtc: sun6i: extend test coverage
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 1 Feb 2017 11:54:13 +0000 (12:54 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 1 Feb 2017 12:55:07 +0000 (13:55 +0100)
COMPILE_TEST was wrongly placed, move it to the "depends on" line.
Also depend on COMMON_CLK as the driver now needs it to be properly
compiled.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/Kconfig

index ee287cf63b011925e26368ff6925278c81a711ce..b995b6efe0ea427f88a984f633248378efde69ed 100644 (file)
@@ -1435,8 +1435,9 @@ config RTC_DRV_SUN4V
 
 config RTC_DRV_SUN6I
        bool "Allwinner A31 RTC"
-       default MACH_SUN6I || MACH_SUN8I || COMPILE_TEST
-       depends on ARCH_SUNXI
+       default MACH_SUN6I || MACH_SUN8I
+       depends on COMMON_CLK
+       depends on ARCH_SUNXI || COMPILE_TEST
        help
          If you say Y here you will get support for the RTC found in
          some Allwinner SoCs like the A31 or the A64.