aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-08-30 14:18:59 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-08-30 15:55:15 -0700
commit9d9bfd180c8e3748be1f1a8843b0b54ed0ef42c9 (patch)
tree422ea7218f715b93502a239f740054fa78d4dff0 /drivers/input
parentdt-bindings: input: tsc2005: Convert to YAML schema (diff)
downloadlinux-dev-9d9bfd180c8e3748be1f1a8843b0b54ed0ef42c9.tar.xz
linux-dev-9d9bfd180c8e3748be1f1a8843b0b54ed0ef42c9.zip
Input: adp5588-keys - use the right header
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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/adp5588-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/adp5588-keys.c b/drivers/input/keyboard/adp5588-keys.c
index 90a59b973d00..1592da4de336 100644
--- a/drivers/input/keyboard/adp5588-keys.c
+++ b/drivers/input/keyboard/adp5588-keys.c
@@ -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>