]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
rtc: sunxi: Depend on platforms sun4i/sun7i that actually have the rtc
authorChen-Yu Tsai <wens@csie.org>
Tue, 26 Aug 2014 03:54:56 +0000 (11:54 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 19 Sep 2014 10:39:30 +0000 (12:39 +0200)
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>
drivers/rtc/Kconfig

index f2300b4e9b1754b43820dea55949cbff5ffeec50..6b34bc94a3f6c7c544e8385b8867a6a33102bd32 100644 (file)
@@ -1184,7 +1184,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.