diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-06-18 05:04:26 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-18 10:52:37 -0400 |
commit | a59f0e218177622caaec2b1005ac5e9ab77a6c98 (patch) | |
tree | 9f347b945c9c35f99ab2a265b91fe43a24c4f7f5 /drivers/pinctrl | |
parent | 2230a36e311c5b2b8f4e048fd14117d3c975cbb9 (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')
-rw-r--r-- | drivers/pinctrl/spear/pinctrl-plgpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/spear/pinctrl-plgpio.c b/drivers/pinctrl/spear/pinctrl-plgpio.c index 6b090be61774..0a7f0bdbaa7d 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) | |||
441 | return offset; | 441 | return offset; |
442 | } | 442 | } |
443 | 443 | ||
444 | int spear310_o2p(int offset) | 444 | static int spear310_o2p(int offset) |
445 | { | 445 | { |
446 | if (offset <= 3) | 446 | if (offset <= 3) |
447 | return 101 - offset; | 447 | return 101 - offset; |