Message ID | 2307717.ct4mYzhCLm@wuerfel |
---|---|
State | Superseded |
Headers | show
Return-Path: <rtc-linux+bncBDEKVJM7XAHRBRFXZCTQKGQETGW35UQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-la0-x23e.google.com (mail-la0-x23e.google.com [IPv6:2a00:1450:4010:c03::23e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 62CBC1401AA for <incoming@patchwork.ozlabs.org>; Sun, 1 Mar 2015 06:49:29 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="2048-bit key; unprotected key" header.d=googlegroups.com header.i=@googlegroups.com header.b=LqAiRT5O; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: by labge10 with SMTP id ge10sf6698559lab.9 for <incoming@patchwork.ozlabs.org>; Sat, 28 Feb 2015 11:49:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=from:to:cc:subject:date:message-id:user-agent:mime-version :content-type: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; bh=ybUPSBtB5/UbZ4zAgYBBYK0ExnCROHZBWCZ9Z2L+MRE=; b=LqAiRT5OAEyhg4hYPFxzYFpQK9r9CvSDM99MVMaYLkhuTtyPfOBxwPJ3VyWEGkZUVn 1u1QGYf8+Hb8dCiAmYzbeTGeazPEzJDV7mgudHfFqpAuriBE5M8JMtaS4u72i1240kaA FkCXe8NRhlKGY0RR+1NNY0glGy6Ag6WjQLR/EQPFwCUr8RbZwSJx4w9e58zHIHyEpME6 k3L3nMrknSfz2yuL9cOOWp9yl7u1K1pSphvTbupofqCnZxc4au6qzEpIW6Li4BCD9sql EkQV38e007eeW7l/Ais7FJuEiayVaIscEDP4frr3rpW9fd0D1W/OKIUATp4uC5XMaeCS doAQ== X-Received: by 10.152.36.129 with SMTP id q1mr265075laj.2.1425152964821; Sat, 28 Feb 2015 11:49:24 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.152.7.42 with SMTP id g10ls298786laa.51.gmail; Sat, 28 Feb 2015 11:49:24 -0800 (PST) X-Received: by 10.152.28.137 with SMTP id b9mr2836464lah.8.1425152964222; Sat, 28 Feb 2015 11:49:24 -0800 (PST) Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.17.13]) by gmr-mx.google.com with ESMTPS id el6si357650wib.2.2015.02.28.11.49.24 for <rtc-linux@googlegroups.com> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Feb 2015 11:49:24 -0800 (PST) Received-SPF: none (google.com: arnd@arndb.de does not designate permitted sender hosts) client-ip=212.227.17.13; Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LwptA-1XQDLA3MiG-016O7c; Sat, 28 Feb 2015 20:48:28 +0100 From: Arnd Bergmann <arnd@arndb.de> To: Andrew Morton <akpm@linux-foundation.org> Cc: Philippe De Muyter <phdm@macqel.be>, Alessandro Zummo <a.zummo@towertech.it>, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [rtc-linux] [PATCH] rtc: abx805 depends on i2c Date: Sat, 28 Feb 2015 20:48:27 +0100 Message-ID: <2307717.ct4mYzhCLm@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Provags-ID: V03:K0:gJT/iW4rKeViwd8z6awrOnpEjG9oXjnRjaO+rkWuHZo88YuzU13 MbkPvorFDtQ2ux9e31aXR0PO7QvPfSEuWjiNE4wMHwapUppNGoHvb54vJsC+cKlfDdOo0xb cj2kVD2/jbxFaOHMvVAlmhyCTaTLnTeWjDpNgOmM13PqJgkvWhkmGccdO9kM1C8ic/GhCLj SFKWQ6Bm4ikveQtD6uyRw== X-UI-Out-Filterresults: notjunk:1; X-Original-Sender: arnd@arndb.de X-Original-Authentication-Results: gmr-mx.google.com; spf=none (google.com: arnd@arndb.de does not designate permitted sender hosts) smtp.mail=arnd@arndb.de Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com>, <http://groups.google.com/group/rtc-linux/subscribe> |
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 61ea2e3b4071..80ae27ffe8ea 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1083,6 +1083,7 @@ config RTC_DRV_AB8500 config RTC_DRV_ABX805 tristate "Abracon AB X805 RTC" + depends on I2C help Select this to enable support for the Abracon AB X805 RTC. AB X805 is the i2c flavour of the AB 18X5 family of ultra-low-power
The recently added X805 rtc driver uses the i2c subsystem, but has no Kconfig dependency, so it can result in a build error when i2c is disabled: drivers/rtc/rtc-abx805.c: In function 'abx805_read_multiple_regs': drivers/rtc/rtc-abx805.c:55:2: error: implicit declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration] This adds the obvious dependency. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 9033ab8ddd29 ("rtc: add rtc-abx805, a driver for the Abracon AB 1805 i2c rtc")