From patchwork Mon Jul 28 08:20:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 374125 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ie0-x23b.google.com (mail-ie0-x23b.google.com [IPv6:2607:f8b0:4001:c03::23b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 111EE14018E for ; Mon, 28 Jul 2014 18:21:06 +1000 (EST) Received: by mail-ie0-f187.google.com with SMTP id rd18sf2181471iec.4 for ; Mon, 28 Jul 2014 01:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=kvnG/breS4JxMFHDY8kavWckP1sjXMtAjfljJIHdstQ=; b=dJNECqVctiJbMndlF8xqNBXPh2BNjIwIhaxFePUi6FR1yi5S/xcLIs4UCVc+lwwJgj IXHVb3YkX+09hYfv1RP31V15iApk8L/oIRvhJNoT1OYOlile82a7uWXBRqAbZ27X4dkJ 6QncFYUwKENeB2Un5TrLyBivbhbSt6gl4/5nE6PpY57e3iHCbrvfbQo0VSmPl5HsStks hEIupDEDH69BClGxcbh2peMSnjDwb0mHoYsFUqRdkjtRooah3P94dursaK68ht3IjxHf yaa2dFwB7f6+Mg2gfDKYCU7KjQOi+/llX2XjimzzAMz+U+FSvzpJKAPkQ2BJLvOMvghA wvLg== X-Received: by 10.50.254.1 with SMTP id ae1mr496736igd.2.1406535665111; Mon, 28 Jul 2014 01:21:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.35.129 with SMTP id h1ls1731588igj.40.gmail; Mon, 28 Jul 2014 01:21:04 -0700 (PDT) X-Received: by 10.67.5.101 with SMTP id cl5mr4897176pad.41.1406535664784; Mon, 28 Jul 2014 01:21:04 -0700 (PDT) Received: from smtp.csie.ntu.edu.tw (smtp.csie.ntu.edu.tw. [140.112.30.61]) by gmr-mx.google.com with ESMTP id bb5si2403563pdb.1.2014.07.28.01.21.03 for ; Mon, 28 Jul 2014 01:21:03 -0700 (PDT) Received-SPF: none (google.com: wens@mirror2.csie.ntu.edu.tw does not designate permitted sender hosts) client-ip=140.112.30.61; Received: from mirror2.csie.ntu.edu.tw (mirror2.csie.ntu.edu.tw [140.112.30.76]) (Authenticated sender: b93043) by smtp.csie.ntu.edu.tw (Postfix) with ESMTPSA id D96A920095; Mon, 28 Jul 2014 16:21:02 +0800 (CST) Received: by mirror2.csie.ntu.edu.tw (Postfix, from userid 1000) id B20945F751; Mon, 28 Jul 2014 16:21:02 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Russell King , Alessandro Zummo , Rob Herring Cc: Chen-Yu Tsai , Varka Bhadram , linux-arm-kernel@lists.infradead.org, rtc-linux@googlegroups.com, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [rtc-linux] [PATCH v4 2/6] rtc: sunxi: Depend on platforms sun4i/sun7i that actually have the rtc Date: Mon, 28 Jul 2014 16:20:57 +0800 Message-Id: <1406535661-25072-3-git-send-email-wens@csie.org> X-Mailer: git-send-email 2.0.1 In-Reply-To: <1406535661-25072-1-git-send-email-wens@csie.org> References: <1406535661-25072-1-git-send-email-wens@csie.org> X-Original-Sender: wens@csie.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: wens@mirror2.csie.ntu.edu.tw does not designate permitted sender hosts) smtp.mail=wens@mirror2.csie.ntu.edu.tw Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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 Acked-by: Maxime Ripard --- drivers/rtc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index dde2b57..f933b4b 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1176,7 +1176,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.