Skip to content

Commit 64a1925

Browse files
wensmripard
authored andcommitted
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>
1 parent 9765d2d commit 64a1925

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/rtc/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ config RTC_DRV_SUN6I
11841184

11851185
config RTC_DRV_SUNXI
11861186
tristate "Allwinner sun4i/sun7i RTC"
1187-
depends on ARCH_SUNXI
1187+
depends on MACH_SUN4I || MACH_SUN7I
11881188
help
11891189
If you say Y here you will get support for the RTC found on
11901190
Allwinner A10/A20.

0 commit comments

Comments
 (0)