Thread (67 messages) 67 messages, 2 authors, 2016-03-07
STALE3784d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 19/63] gpio vf610: Explicitly include pinctrl consumer header

From: Alexander Stein <hidden>
Date: 2016-02-26 13:18:23
Subsystem: gpio subsystem, the rest · Maintainers: Linus Walleij, Bartosz Golaszewski, Linus Torvalds

If !PINCTRL this header is not included in linux/pinctrl/devinfo.h leading
to this error:
error: implicit declaration of function 'pinctrl_gpio_direction_input'

Adding the missing header fixes this.

Signed-off-by: Alexander Stein <redacted>
---
 drivers/gpio/gpio-vf610.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c
index 6284bdbe1e0c..af4ab289ca05 100644
--- a/drivers/gpio/gpio-vf610.c
+++ b/drivers/gpio/gpio-vf610.c
@@ -28,6 +28,7 @@
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_irq.h>
+#include <linux/pinctrl/consumer.h>
 
 #define VF610_GPIO_PER_PORT		32
 
-- 
2.7.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help