[PATCH 1/2] fixup! pinctrl: Add provisions to control GPIO pin direction

Andrey Smirnov andrew.smirnov at gmail.com
Tue Nov 15 08:22:55 PST 2016



These two are fixup for issues in my Vybrid patch series, patch #2 is
for the issue you experienced and this one is for another issue I
found when building cupid_defconfig.

If you'd rather I post v3 version of the patchset with all of this
incorporated, let me know.


 include/pinctrl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/pinctrl.h b/include/pinctrl.h
index 0fde3f9..7d87169 100644
--- a/include/pinctrl.h
+++ b/include/pinctrl.h
@@ -49,7 +49,7 @@ static inline int of_pinctrl_select_state_default(struct device_node *np)
 	return -ENODEV;
-static inline int pinctrl_gpio_direction_input(unsigend pin)
+static inline int pinctrl_gpio_direction_input(unsigned pin)
 	return -ENOTSUPP;

More information about the barebox mailing list