From: wens@csie.org (Chen-Yu Tsai)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH resend v5 2/2] rtc: sunxi: Depend on platforms sun4i/sun7i that actually have the rtc
Date: Tue, 26 Aug 2014 11:54:56 +0800 [thread overview]
Message-ID: <1409025296-6342-3-git-send-email-wens@csie.org> (raw)
In-Reply-To: <1409025296-6342-1-git-send-email-wens@csie.org>
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>
---
drivers/rtc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index f2300b4..6b34bc9 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.
--
2.1.0
next prev parent reply other threads:[~2014-08-26 3:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 3:54 [PATCH resend v5 0/2] ARM: sunxi: RTC support for A31/A23 Chen-Yu Tsai
2014-08-26 3:54 ` [PATCH resend v5 1/2] rtc: sun6i: Add sun6i RTC driver Chen-Yu Tsai
2014-08-26 3:54 ` Chen-Yu Tsai [this message]
2014-08-29 19:45 ` [PATCH resend v5 0/2] ARM: sunxi: RTC support for A31/A23 Maxime Ripard
2014-09-19 10:39 ` maxime.ripard at free-electrons.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1409025296-6342-3-git-send-email-wens@csie.org \
--to=wens@csie.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox