summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/adp5589-keys.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-08-31 00:23:10 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-08-31 01:55:18 +0300
commit1c6aacecea383b5982299c34b4b191f6f21eb14d (patch)
tree128b863df92ec9a79728af6a883141a56f0b4e04 /drivers/input/keyboard/adp5589-keys.c
parent9d9bfd180c8e3748be1f1a8843b0b54ed0ef42c9 (diff)
downloadlinux-1c6aacecea383b5982299c34b4b191f6f21eb14d.tar.xz
Input: adp5589-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> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Link: https://lore.kernel.org/r/20210816232707.485031-1-linus.walleij@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/adp5589-keys.c')
-rw-r--r--drivers/input/keyboard/adp5589-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/adp5589-keys.c b/drivers/input/keyboard/adp5589-keys.c
index 654e0476406b..bdd264459a97 100644
--- a/drivers/input/keyboard/adp5589-keys.c
+++ b/drivers/input/keyboard/adp5589-keys.c
@@ -18,7 +18,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/input/adp5589.h>