From patchwork Mon Nov 5 13:23:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 1697251 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id A9358DF2AB for ; Mon, 5 Nov 2012 13:25:32 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVMes-0002Os-DG; Mon, 05 Nov 2012 13:24:06 +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 1TVMeo-0002OH-Gc for linux-arm-kernel@lists.infradead.org; Mon, 05 Nov 2012 13:24:03 +0000 Received: by mail-pa0-f49.google.com with SMTP id bi5so3631076pad.36 for ; Mon, 05 Nov 2012 05:24:00 -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=wPIOEm1Bfxtvybx3THU20NmLRvZOienoqeazzabBxLI=; b=PVZWS2DD4kMrZgEJSU5nSxHzIFVdFV+DEVsCVjtPhqs9hFlEzKfHJU44dWsaqgUt4B 8BOSssbBjLHbZE6E2QdubFuJLsyUq+zrbuVkZQwXCsns/rLOGk1QGkskblrbIGFN6d6j fqSl0pD7jceX9Uyouz0b5YSKzOk1RdmWtQ8BGNBF3Jt/V4/ksvpPoKjhOVeqdKS42B+E OVdkaQ2H9zUC27lU5xJj/jZkTY1364RsOLBmxh8m5VrJTBFnyYyO35QdRTsn3uNxyRDX DFQGiXmqr6zo9VNAPlMpRqb0CoLAOuNj7RbULKBsZYMHHDLJG3iNIExnXJ7B80JtjnkA phGQ== Received: by 10.66.77.105 with SMTP id r9mr28178260paw.76.1352121840847; Mon, 05 Nov 2012 05:24:00 -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 vs3sm10565631pbc.61.2012.11.05.05.23.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Nov 2012 05:24:00 -0800 (PST) Message-ID: <1352121830.14769.2.camel@phoenix> Subject: [PATCH] pinctrl: at91: Staticize non-exported symbols From: Axel Lin To: Linus Walleij Date: Mon, 05 Nov 2012 21:23:50 +0800 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Gm-Message-State: ALoCoQmq0DG6sWnZhCXUJGFMTKBcirboE/oRENUvKF6TqJj1ytv06i4LPeWcHvuHWZ/LpseJKcH3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121105_082402_677107_0E8285F5 X-CRM114-Status: GOOD ( 10.46 ) 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: Jean-Christophe Plagniol-Villard , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Signed-off-by: Axel Lin --- drivers/pinctrl/pinctrl-at91.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 65f066c..b9e2cbd 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -566,9 +566,9 @@ static int at91_pmx_get_groups(struct pinctrl_dev *pctldev, unsigned selector, return 0; } -int at91_gpio_request_enable(struct pinctrl_dev *pctldev, - struct pinctrl_gpio_range *range, - unsigned offset) +static int at91_gpio_request_enable(struct pinctrl_dev *pctldev, + struct pinctrl_gpio_range *range, + unsigned offset) { struct at91_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); struct at91_gpio_chip *at91_chip; @@ -598,9 +598,9 @@ int at91_gpio_request_enable(struct pinctrl_dev *pctldev, return 0; } -void at91_gpio_disable_free(struct pinctrl_dev *pctldev, - struct pinctrl_gpio_range *range, - unsigned offset) +static void at91_gpio_disable_free(struct pinctrl_dev *pctldev, + struct pinctrl_gpio_range *range, + unsigned offset) { struct at91_pinctrl *npct = pinctrl_dev_get_drvdata(pctldev); @@ -952,7 +952,7 @@ err: return ret; } -int __devexit at91_pinctrl_remove(struct platform_device *pdev) +static int __devexit at91_pinctrl_remove(struct platform_device *pdev) { struct at91_pinctrl *info = platform_get_drvdata(pdev); @@ -1249,9 +1249,11 @@ static int at91_gpio_irq_map(struct irq_domain *h, unsigned int virq, return 0; } -int at91_gpio_irq_domain_xlate(struct irq_domain *d, struct device_node *ctrlr, - const u32 *intspec, unsigned int intsize, - irq_hw_number_t *out_hwirq, unsigned int *out_type) +static int at91_gpio_irq_domain_xlate(struct irq_domain *d, + struct device_node *ctrlr, + const u32 *intspec, unsigned int intsize, + irq_hw_number_t *out_hwirq, + unsigned int *out_type) { struct at91_gpio_chip *at91_gpio = d->host_data; int ret;