From: Anthony Kim Date: Mon, 18 Dec 2017 19:50:48 +0000 (-0800) Subject: Input: hideep - fix compile error due to missing include file X-Git-Tag: v4.15-rc7~8^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=8b7e9d9e2d8b4de6f0d5d7a5fc63f48b1fbcf4d4;p=linux-2.6-block.git 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 Signed-off-by: Anthony Kim Patchwork-Id: 10094831 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/hideep.c b/drivers/input/touchscreen/hideep.c index fc080a7c2e1f..f1cd4dd9a4a3 100644 --- a/drivers/input/touchscreen/hideep.c +++ b/drivers/input/touchscreen/hideep.c @@ -10,8 +10,7 @@ #include #include #include -#include -#include +#include #include #include #include