pinctrl: spear/plgpio: Staticize spear310_o2p
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 18 Jun 2013 09:04:26 +0000 (14:34 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Jun 2013 14:52:37 +0000 (16:52 +0200)
'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>
drivers/pinctrl/spear/pinctrl-plgpio.c

index 6b090be..0a7f0bd 100644 (file)
@@ -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;