aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-02-01 12:39:22 -0500
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-03-14 12:08:10 -0400
commit2863934e2393e6b3bf635ff51a35ed1bc5a83ca8 (patch)
tree33d5716e5cbb32bc4839a5ee745d649570c0729c /drivers/rtc
parent68298c2dac96c75ed6950f059bbb1368c21da2a3 (diff)
rtc: allow compilation of sun6i RTC for all sunxi SoCs
At the moment the "sun6i" RTC drivers depends on having two specific SoC families selected. The Allwinner A64 SoC has the same RTC, so extend the Kconfig option to allow inclusion of the driver for all Allwinner SoCs. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index ec6a25324525..2cf87f7244fd 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1368,10 +1368,11 @@ config RTC_DRV_SUN4V
1368 1368
1369config RTC_DRV_SUN6I 1369config RTC_DRV_SUN6I
1370 tristate "Allwinner A31 RTC" 1370 tristate "Allwinner A31 RTC"
1371 depends on MACH_SUN6I || MACH_SUN8I 1371 default MACH_SUN6I || MACH_SUN8I
1372 depends on ARCH_SUNXI
1372 help 1373 help
1373 If you say Y here you will get support for the RTC found on 1374 If you say Y here you will get support for the RTC found in
1374 Allwinner A31. 1375 some Allwinner SoCs like the A31 or the A64.
1375 1376
1376config RTC_DRV_SUNXI 1377config RTC_DRV_SUNXI
1377 tristate "Allwinner sun4i/sun7i RTC" 1378 tristate "Allwinner sun4i/sun7i RTC"