[PATCH] Input: include "linux/gpio/consumer.h" header file.

DORMANTno replies

From: Anthony Kim <hidden>
Date: 2017-12-06 01:41:35
Also in: lkml
Subsystem: input (keyboard, mouse, joystick, touchscreen) drivers, the rest · Maintainers: Dmitry Torokhov, Linus Torvalds

An error occurred during compile because there is no header file
at x86 configure.

Signed-off-by: Anthony Kim <redacted>
---
 drivers/input/touchscreen/hideep.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/touchscreen/hideep.c b/drivers/input/touchscreen/hideep.c
index fc080a7..037da00 100644
--- a/drivers/input/touchscreen/hideep.c
+++ b/drivers/input/touchscreen/hideep.c
@@ -12,6 +12,7 @@
 #include <linux/delay.h>
 #include <linux/gpio.h>
 #include <linux/gpio/machine.h>
+#include <linux/gpio/consumer.h>
 #include <linux/i2c.h>
 #include <linux/acpi.h>
 #include <linux/interrupt.h>
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help