From patchwork Tue Sep 11 14:20:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 1438331 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 B27DA3FC33 for ; Tue, 11 Sep 2012 14:23:58 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TBRKB-0005MN-Hk; Tue, 11 Sep 2012 14:20:23 +0000 Received: from mail.free-electrons.com ([88.190.12.23]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TBRK7-0005Le-Oy for linux-arm-kernel@lists.infradead.org; Tue, 11 Sep 2012 14:20:20 +0000 Received: by mail.free-electrons.com (Postfix, from userid 106) id B59A5188; Tue, 11 Sep 2012 16:20:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham version=3.3.1 Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 90947CE; Tue, 11 Sep 2012 16:20:13 +0200 (CEST) From: Thomas Petazzoni To: Sebastian Hesselbarth Subject: [PATCH 1/2] pinctrl: mvebu: mark internal functions as static Date: Tue, 11 Sep 2012 16:20:03 +0200 Message-Id: <1347373204-17883-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1347373204-17883-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1347266386-16229-1-git-send-email-sebastian.hesselbarth@gmail.com> <1347373204-17883-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.3 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Lior Amsalem , Andrew Lunn , Jason Cooper , Stephen Warren , Linus Walleij , Gregory CLEMENT , 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: , MIME-Version: 1.0 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: Thomas Petazzoni Acked-by: Linus Walleij --- drivers/pinctrl/pinctrl-mvebu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/pinctrl-mvebu.c b/drivers/pinctrl/pinctrl-mvebu.c index 52b1da1..ed1fc3b 100644 --- a/drivers/pinctrl/pinctrl-mvebu.c +++ b/drivers/pinctrl/pinctrl-mvebu.c @@ -59,7 +59,7 @@ struct mvebu_pinctrl { u8 variant; }; -struct mvebu_pinctrl_group *mvebu_pinctrl_find_group_by_pid( +static struct mvebu_pinctrl_group *mvebu_pinctrl_find_group_by_pid( struct mvebu_pinctrl *pctl, unsigned pid) { unsigned n; @@ -72,7 +72,7 @@ struct mvebu_pinctrl_group *mvebu_pinctrl_find_group_by_pid( return NULL; } -struct mvebu_pinctrl_group *mvebu_pinctrl_find_group_by_name( +static struct mvebu_pinctrl_group *mvebu_pinctrl_find_group_by_name( struct mvebu_pinctrl *pctl, const char *name) { unsigned n; @@ -83,7 +83,7 @@ struct mvebu_pinctrl_group *mvebu_pinctrl_find_group_by_name( return NULL; } -struct mvebu_mpp_ctrl_setting *mvebu_pinctrl_find_setting_by_val( +static struct mvebu_mpp_ctrl_setting *mvebu_pinctrl_find_setting_by_val( struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, unsigned long config) { @@ -98,7 +98,7 @@ struct mvebu_mpp_ctrl_setting *mvebu_pinctrl_find_setting_by_val( return NULL; } -struct mvebu_mpp_ctrl_setting *mvebu_pinctrl_find_setting_by_name( +static struct mvebu_mpp_ctrl_setting *mvebu_pinctrl_find_setting_by_name( struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, const char *name) { @@ -113,7 +113,7 @@ struct mvebu_mpp_ctrl_setting *mvebu_pinctrl_find_setting_by_name( return NULL; } -struct mvebu_mpp_ctrl_setting *mvebu_pinctrl_find_gpio_setting( +static struct mvebu_mpp_ctrl_setting *mvebu_pinctrl_find_gpio_setting( struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp) { unsigned n;