Forráskód Böngészése

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>
Sachin Kamat 12 éve
szülő
commit
a59f0e2181
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      drivers/pinctrl/spear/pinctrl-plgpio.c

+ 1 - 1
drivers/pinctrl/spear/pinctrl-plgpio.c

@@ -441,7 +441,7 @@ static int spear310_p2o(int pin)
 	return offset;
 	return offset;
 }
 }
 
 
-int spear310_o2p(int offset)
+static int spear310_o2p(int offset)
 {
 {
 	if (offset <= 3)
 	if (offset <= 3)
 		return 101 - offset;
 		return 101 - offset;