]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Input: adp5588-keys - use the right header
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Aug 2021 21:18:59 +0000 (14:18 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 30 Aug 2021 22:55:15 +0000 (15:55 -0700)
This keyboard driver is implementing a GPIO driver, so it need
to include <linux/gpio/driver.h> and not the legacy <linux/gpio.h>
header.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210820222958.57238-1-linus.walleij@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5588-keys.c

index 90a59b973d00e0f05ddd1fad6b1819f78774a2c6..1592da4de33605b5cf86fe324577ebf82dd613c1 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/platform_device.h>
 #include <linux/input.h>
 #include <linux/i2c.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/slab.h>
 
 #include <linux/platform_data/adp5588.h>