rtc: sunxi: Depend on platforms sun4i/sun7i that actually have the rtc

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>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Chen-Yu Tsai 2014-08-26 11:54:56 +08:00 committed by Maxime Ripard
parent 9765d2d943
commit 64a1925c00
1 changed files with 1 additions and 1 deletions

View File

@ -1184,7 +1184,7 @@ config RTC_DRV_SUN6I
config RTC_DRV_SUNXI config RTC_DRV_SUNXI
tristate "Allwinner sun4i/sun7i RTC" tristate "Allwinner sun4i/sun7i RTC"
depends on ARCH_SUNXI depends on MACH_SUN4I || MACH_SUN7I
help help
If you say Y here you will get support for the RTC found on If you say Y here you will get support for the RTC found on
Allwinner A10/A20. Allwinner A10/A20.