diff mbox

[1/2] pinctrl: mvebu: mark internal functions as static

Message ID 1347373204-17883-2-git-send-email-thomas.petazzoni@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Petazzoni Sept. 11, 2012, 2:20 p.m. UTC
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 drivers/pinctrl/pinctrl-mvebu.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Linus Walleij Sept. 11, 2012, 5:54 p.m. UTC | #1
On Tue, Sep 11, 2012 at 4:20 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:

> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  drivers/pinctrl/pinctrl-mvebu.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
diff mbox

Patch

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;