From patchwork Mon Nov 5 13:44:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 1697381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id BDCF63FCA5 for ; Mon, 5 Nov 2012 13:46:35 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVMyl-0004Tg-CU; Mon, 05 Nov 2012 13:44:39 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TVMyh-0004T8-T0 for linux-arm-kernel@lists.infradead.org; Mon, 05 Nov 2012 13:44:36 +0000 Received: by mail-pa0-f49.google.com with SMTP id bi5so3641506pad.36 for ; Mon, 05 Nov 2012 05:44:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:x-mailer :content-transfer-encoding:mime-version:x-gm-message-state; bh=T5xT2AIoQ6To+mTqP2Q3dHRMYAWNNZBxYYy8qM6X8DE=; b=RvObhrjVSRA3NZ6MAIh6mTUjmNyaaLFFwkL/pjWBmHIO6fMMov+wCOlcPcHTww3jtI nX31evU3hZ7GybxlA2IZilQzHD40aEXFv8V5VUGbVfxhssnXuL+X+f4UOTwuVuckf7B3 jiairw6VRQgcWdMkvvqW/wV9/qhysfyp0QtubMHOXBxxo5aZQiu5xI79fh25WgFYcxQd CJfpE7Jl8iZlrQejYyQ1BwEKy9/7BC0AS2yE5s0AVgAmqIkJQbj26juKwPT+DS/Iz77s axwbJpf7fH6kKRIK/HEkV3rRNK4QavY1uFe2S+f9TexmWWaIxHM4XovxOvNYc9waPOrG 5idw== Received: by 10.66.85.10 with SMTP id d10mr28475110paz.52.1352123074573; Mon, 05 Nov 2012 05:44:34 -0800 (PST) Received: from [192.168.0.100] (122-121-49-131.dynamic.hinet.net. [122.121.49.131]) by mx.google.com with ESMTPS id uk9sm10588798pbc.63.2012.11.05.05.44.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Nov 2012 05:44:34 -0800 (PST) Message-ID: <1352123068.14769.6.camel@phoenix> Subject: [PATCH] pinctrl: sirf: Staticize non-exported symbol From: Axel Lin To: Linus Walleij Date: Mon, 05 Nov 2012 21:44:28 +0800 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Gm-Message-State: ALoCoQm7l9N/+vrabjvaP16zPEbKCLezDEOrAKv0JUnaZeSQy0QZ2tL29H3SnVUrW4lVtg73tyWm X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121105_084436_062099_852D1868 X-CRM114-Status: GOOD ( 12.12 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: ingics.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Barry Song X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Staticize sirfsoc_gpio_irq_map() function. Signed-off-by: Axel Lin Acked-by: Barry Song --- drivers/pinctrl/pinctrl-sirf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c index 9ecacf3..e3b2c53 100644 --- a/drivers/pinctrl/pinctrl-sirf.c +++ b/drivers/pinctrl/pinctrl-sirf.c @@ -1621,8 +1621,8 @@ static void sirfsoc_gpio_set_value(struct gpio_chip *chip, unsigned offset, spin_unlock_irqrestore(&bank->lock, flags); } -int sirfsoc_gpio_irq_map(struct irq_domain *d, unsigned int irq, - irq_hw_number_t hwirq) +static int sirfsoc_gpio_irq_map(struct irq_domain *d, unsigned int irq, + irq_hw_number_t hwirq) { struct sirfsoc_gpio_bank *bank = d->host_data;