Message ID | 1405323137-24287-3-git-send-email-wens@csie.org |
---|---|
State | Superseded |
Headers | show |
On Mon, Jul 14, 2014 at 03:32:14PM +0800, Chen-Yu Tsai wrote: > Now that we have Kconfig options for individual sunxi platforms, let > the rtc-sunxi driver depend on the platforms that actually have this > hardware, sun4i and sun7i. > > Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Thanks, Maxime
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 5b3910a..09a8d01 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1176,7 +1176,7 @@ config RTC_DRV_SUN6I config RTC_DRV_SUNXI tristate "Allwinner sun4i/sun7i RTC" - depends on ARCH_SUNXI + depends on MACH_SUN4I || MACH_SUN7I help If you say Y here you will get support for the RTC found on Allwinner A10/A20.
Now that we have Kconfig options for individual sunxi platforms, let the rtc-sunxi driver depend on the platforms that actually have this hardware, sun4i and sun7i. Signed-off-by: Chen-Yu Tsai <wens@csie.org> --- drivers/rtc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)