Skip to content

Commit 8b7e9d9

Browse files
Anthony Kimdtor
authored andcommitted
Input: hideep - fix compile error due to missing include file
gpiod_() API requires including "linux/gpio/consumer.h". Also, we are not using the legacy API nor the static board files descriptions, so no need to include gpio.h nor gpio/machine.h. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Anthony Kim <[email protected]> Patchwork-Id: 10094831 Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 4c83c07 commit 8b7e9d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/input/touchscreen/hideep.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
#include <linux/of.h>
1111
#include <linux/firmware.h>
1212
#include <linux/delay.h>
13-
#include <linux/gpio.h>
14-
#include <linux/gpio/machine.h>
13+
#include <linux/gpio/consumer.h>
1514
#include <linux/i2c.h>
1615
#include <linux/acpi.h>
1716
#include <linux/interrupt.h>

0 commit comments

Comments
 (0)