Skip to content

Commit

Permalink
Input: adp5588-keys - use the right header
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
linusw authored and dtor committed Aug 30, 2021
1 parent 247141f commit 9d9bfd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/adp5588-keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9d9bfd1

Please sign in to comment.