summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/spear
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-06-18 14:34:26 +0530
committerLinus Walleij <linus.walleij@linaro.org>2013-06-18 16:52:37 +0200
commita59f0e218177622caaec2b1005ac5e9ab77a6c98 (patch)
tree9f347b945c9c35f99ab2a265b91fe43a24c4f7f5 /drivers/pinctrl/spear
parent2230a36e311c5b2b8f4e048fd14117d3c975cbb9 (diff)
pinctrl: spear/plgpio: Staticize spear310_o2p
'spear310_o2p' is referenced only in this file. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/spear')
-rw-r--r--drivers/pinctrl/spear/pinctrl-plgpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-plgpio.c b/drivers/pinctrl/spear/pinctrl-plgpio.c
index 6b090be6177..0a7f0bdbaa7 100644
--- a/drivers/pinctrl/spear/pinctrl-plgpio.c
+++ b/drivers/pinctrl/spear/pinctrl-plgpio.c
@@ -441,7 +441,7 @@ static int spear310_p2o(int pin)
return offset;
}
-int spear310_o2p(int offset)
+static int spear310_o2p(int offset)
{
if (offset <= 3)
return 101 - offset;