diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-08-26 07:54:56 +0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-09-19 14:39:30 +0400 |
commit | 64a1925c00706253aa887431fc45f96db48aa727 (patch) | |
tree | 299798674cfac49c7fea45c79048aea8779fc869 /drivers/rtc | |
parent | 9765d2d9430971ca89b09af076e7a8ff250df473 (diff) | |
download | linux-64a1925c00706253aa887431fc45f96db48aa727.tar.xz |
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index f2300b4e9b17..6b34bc94a3f6 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -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. |