From patchwork Thu May 2 15:16:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2512371 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id AB5E43FCA5 for ; Thu, 2 May 2013 15:19:50 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvGY-0000fB-2a; Thu, 02 May 2013 15:17:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvG6-0002Qz-8k; Thu, 02 May 2013 15:17:22 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvFO-0002Ht-O4 for linux-arm-kernel@lists.infradead.org; Thu, 02 May 2013 15:16:41 +0000 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0Mbo1J-1Uqy5r2iJB-00J4K6; Thu, 02 May 2013 17:16:14 +0200 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Subject: [PATCH, RFC 10/22] mfd: ab8500: debugfs code depends on gpadc Date: Thu, 2 May 2013 17:16:14 +0200 Message-Id: <1367507786-505303-11-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1367507786-505303-1-git-send-email-arnd@arndb.de> References: <1367507786-505303-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:LZxSlQsTifDxI+skECVKiDR20JP8K1xCdzcPQ+L94Am cQ7gnWn8lcPAUWdsDzku5r+j7IhiBKOJm2M2rfbPqgOQQSuZBS KJDFOT3WoVFsuTYVL0ZyLOJKNEhyoYb5o/YH62aZhqXrIPC9Z8 vOP4KkIBNNO5sTFv4VkwMYh3obl7hRW33Gpl2MnAvdWCr7RwEO 4ywZBdQe9qy71PG+/THOv/zx4x4Duw7gK8Kuwacd+7taUOBDRi /v0aQAEvhmXOjhZYynd5XAtEvBMRSJ0+1QkVkHtr31BjsOY2Lw jt/1UKbx6COzUM4uJ5RbE4+WIY5hTcLLKv0GaS20an6wABXC0g chySiFCcwa6dMUwHspxxo+S9jpQUGuELtUm0jgEbq X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130502_111639_075149_04854FC5 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Samuel Ortiz , Arnd Bergmann , Lee Jones , Philippe LANGLAIS , linux-arm-kernel@lists.infradead.org, Linus Walleij X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The AB8500_DEBUG code specifically requires access to the gpadc code, not just the common ab8500 driver. drivers/built-in.o: In function `ab8500_gpadc_bat_ctrl_print': mfd/ab8500-debugfs.c:1733: undefined reference to `ab8500_gpadc_get' mfd/ab8500-debugfs.c:1734: undefined reference to `ab8500_gpadc_read_raw' mfd/ab8500-debugfs.c:1736: undefined reference to `ab8500_gpadc_ad_to_voltage' Cc: Linus Walleij Cc: Lee Jones Cc: Philippe LANGLAIS Cc: Samuel Ortiz Signed-off-by: Arnd Bergmann --- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 9b4703e..bf785db 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -580,7 +580,7 @@ config AB8500_CORE config AB8500_DEBUG bool "Enable debug info via debugfs" - depends on AB8500_CORE && DEBUG_FS + depends on AB8500_GPADC && DEBUG_FS default y if DEBUG_FS help Select this option if you want debug information using the debug