aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-02-01 06:54:13 -0500
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-02-01 07:55:07 -0500
commit93946c49cdafd6a2e4039a8208564fd18e9120c3 (patch)
tree370eba13309286401d0bad2d5662584915d51e74
parent15829cf4b3f8dd3849446138830e629715848d7f (diff)
rtc: sun6i: extend test coverage
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>
-rw-r--r--drivers/rtc/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index ee287cf63b01..b995b6efe0ea 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1435,8 +1435,9 @@ config RTC_DRV_SUN4V
1435 1435
1436config RTC_DRV_SUN6I 1436config RTC_DRV_SUN6I
1437 bool "Allwinner A31 RTC" 1437 bool "Allwinner A31 RTC"
1438 default MACH_SUN6I || MACH_SUN8I || COMPILE_TEST 1438 default MACH_SUN6I || MACH_SUN8I
1439 depends on ARCH_SUNXI 1439 depends on COMMON_CLK
1440 depends on ARCH_SUNXI || COMPILE_TEST
1440 help 1441 help
1441 If you say Y here you will get support for the RTC found in 1442 If you say Y here you will get support for the RTC found in
1442 some Allwinner SoCs like the A31 or the A64. 1443 some Allwinner SoCs like the A31 or the A64.