From: Andre Przywara Date: Mon, 1 Feb 2016 17:39:22 +0000 (+0000) Subject: rtc: allow compilation of sun6i RTC for all sunxi SoCs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2863934e2393e6b3bf635ff51a35ed1bc5a83ca8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Acked-by: Maxime Ripard Signed-off-by: Alexandre Belloni --- 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 config RTC_DRV_SUN6I tristate "Allwinner A31 RTC" - depends on MACH_SUN6I || MACH_SUN8I + default MACH_SUN6I || MACH_SUN8I + depends on ARCH_SUNXI help - If you say Y here you will get support for the RTC found on - Allwinner A31. + If you say Y here you will get support for the RTC found in + some Allwinner SoCs like the A31 or the A64. config RTC_DRV_SUNXI tristate "Allwinner sun4i/sun7i RTC"