Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a59f0e21 authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Walleij
Browse files

pinctrl: spear/plgpio: Staticize spear310_o2p



'spear310_o2p' is referenced only in this file.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2230a36e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;