From patchwork Tue Apr 23 16:30:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2479831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id BEFE6DF2E5 for ; Tue, 23 Apr 2013 19:04:47 +0000 (UTC) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UUgIJ-00063m-7Y; Tue, 23 Apr 2013 16:42:17 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UUgBB-0005xW-E2; Tue, 23 Apr 2013 16:34:53 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UUg8Q-0005gK-IG for linux-arm-kernel@lists.infradead.org; Tue, 23 Apr 2013 16:32:13 +0000 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0LhziI-1Upw7631aE-00nOqH; Tue, 23 Apr 2013 18:31:54 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 20/21] MFD: ab8500: export ab8500_gpadc_sw_hw_convert properly Date: Tue, 23 Apr 2013 18:30:52 +0200 Message-Id: <1366734653-488286-21-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1366734653-488286-1-git-send-email-arnd@arndb.de> References: <1366734653-488286-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:czil2QkpoShs2YAunsMr2Vw1lY0PJ2DSjbVTK/NcIeO tC+/vyx2cbwSplUQ9+J+51XmWsTyu3f2cpoxL7E5VjQlGOdj4V 35UuRUDNw0BI1kgwCg/wA93wM6ax58HQsCkJpXqNghKvfo16oH xy1T0lg2LURT3RYonayXd0ILa23NFfkXgn4YHDcsBXduVRaDs+ RECAA/zgCBaHOOd3i72I5zK9NtghqHppoyG5T/ddZmZdN/Ysi4 cAOUFIK9cKIU4t93kzscPx7i+MV1LyMyWK43bn7nzrPH6kp63y /k3tWl0yHNxWJ+c0/e7S5cfF8r3RyCGhQsEGvHkCRFNuWk+EDH NDjENDMfjmtX4iViGJQuOtddZWyYYj0wmtDbhexaD X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130423_123202_867858_6D49080D X-CRM114-Status: UNSURE ( 9.20 ) 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.186 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 , Michel JAOUEN , linux-kernel@vger.kernel.org, M'boumba Cedric Madianga , Mattias WALLIN , Lee Jones 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 Apparently the ab8500_gpadc_sw_hw_convert function got renamed from ab8500_gpadc_convert to ab8500_gpadc_sw_hw_convert in commit 734823462 "mfd: ab8500-gpadc: Add gpadc hw conversion", but the export for this function did not get changed at the same time, causing this allyesconfig error: ERROR: "ab8500_gpadc_sw_hw_convert" [drivers/hwmon/ab8500.ko] undefined! This patch fixes the export. Signed-off-by: Arnd Bergmann Cc: M'boumba Cedric Madianga Cc: Lee Jones Cc: Mattias WALLIN Cc: Michel JAOUEN Cc: Samuel Ortiz Acked-by: Linus Walleij --- drivers/mfd/ab8500-gpadc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c index 5f341a5..184df96 100644 --- a/drivers/mfd/ab8500-gpadc.c +++ b/drivers/mfd/ab8500-gpadc.c @@ -269,7 +269,7 @@ int ab8500_gpadc_convert(struct ab8500_gpadc *gpadc, u8 channel) return voltage; } -EXPORT_SYMBOL(ab8500_gpadc_convert); +EXPORT_SYMBOL(ab8500_gpadc_sw_hw_convert); /** * ab8500_gpadc_read_raw() - gpadc read