diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-08-30 14:18:59 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-08-30 15:55:15 -0700 |
commit | 9d9bfd180c8e3748be1f1a8843b0b54ed0ef42c9 (patch) | |
tree | 422ea7218f715b93502a239f740054fa78d4dff0 /drivers/input | |
parent | 247141f5286b6a915dd225de076c29d8591e9a94 (diff) | |
download | lwn-9d9bfd180c8e3748be1f1a8843b0b54ed0ef42c9.tar.gz lwn-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.c | 2 |
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> |