From patchwork Wed Aug 7 06:34:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 2839921 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DB73C9F479 for ; Wed, 7 Aug 2013 06:34:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 089972015A for ; Wed, 7 Aug 2013 06:34:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AF6632004F for ; Wed, 7 Aug 2013 06:34:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757142Ab3HGGez (ORCPT ); Wed, 7 Aug 2013 02:34:55 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:17737 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757108Ab3HGGey (ORCPT ); Wed, 7 Aug 2013 02:34:54 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MR5005S6E9BLX30@mailout3.w1.samsung.com>; Wed, 07 Aug 2013 07:34:52 +0100 (BST) X-AuditID: cbfec7f5-b7f5f6d00000105f-d5-5201ea8cb87e Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 90.31.04191.C8AE1025; Wed, 07 Aug 2013 07:34:52 +0100 (BST) Content-transfer-encoding: 8BIT Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MR500IG3EA15C60@eusync4.samsung.com>; Wed, 07 Aug 2013 07:34:52 +0100 (BST) From: Krzysztof Kozlowski To: David Brown , Daniel Walker , Bryan Huntsman , Russell King , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] [TRIVIAL] ARM: msm: fix compilation error in gpiomux Date: Wed, 07 Aug 2013 08:34:39 +0200 Message-id: <1375857279-18082-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsVy+t/xa7o9rxiDDM43cFr8OzaFyeLx8n9s FlOXtbFavH5haLHp8TVWi4n7z7JbXN41h83i9mVeBw6PluYeNo/Lfb1MHqcn72fx2Lyk3qNv yypGj8+b5ALYorhsUlJzMstSi/TtErgyLq/pZy6YwV6xce1ZpgbGSWxdjBwcEgImEjf6S7sY OYFMMYkL99YDhbk4hASWMkpM7lrBBpLgFRCU+DH5HgtIPbOAvMSRS9kgYWYBdYlJ8xYxQ9T3 MUmcb9oKVs8mYCyxefkSsEEiAs1MEp0Hv7BDdBhK/Hz3B8wWFnCV6Pq/H8xmEVCVuPXyMyvE MneJyfePMUMcpyAxZ5LNBEa+WUjOmIVwxiwkZyxgZF7FKJpamlxQnJSea6RXnJhbXJqXrpec n7uJERK+X3cwLj1mdYhRgINRiYe3QowxSIg1say4MvcQowQHs5IIr9YcoBBvSmJlVWpRfnxR aU5q8SFGJg5OqQbGnEMc628HVOWIXvRK280iGcn1Y+3RPxkcjm/Oleb3rFZxOFR727I/dcpR 1cvS71Pko2Q1pomXSc8qPlNVNa+/V1FRPU3tvsD26SK3nPa4pp7bbrDL3SGEu2JRZGHUBgfW Y8Vehb1GVjsEX9szVs5aWjz3r15imPXrVyEKpoF3qmz+WzfxpiuxFGckGmoxFxUnAgDKKUOm PQIAAA== Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix compilation error in gpiomux (CONFIG_MSM_GPIOMUX=y): arch/arm/mach-msm/gpiomux.c:24:13: error: static declaration of ‘__msm_gpiomux_write’ follows non-static declaration arch/arm/mach-msm/gpiomux.h:85:6: note: previous declaration of ‘__msm_gpiomux_write’ was here Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-msm/gpiomux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-msm/gpiomux.c b/arch/arm/mach-msm/gpiomux.c index 2b8e2d2..4110b82 100644 --- a/arch/arm/mach-msm/gpiomux.c +++ b/arch/arm/mach-msm/gpiomux.c @@ -21,7 +21,7 @@ static DEFINE_SPINLOCK(gpiomux_lock); -static void __msm_gpiomux_write(unsigned gpio, gpiomux_config_t val) +void __msm_gpiomux_write(unsigned gpio, gpiomux_config_t val) { unsigned tlmm_config = (val & ~GPIOMUX_CTL_MASK) | ((gpio & 0x3ff) << 4);