Skip to content

Commit 9d9bfd1

Browse files
linuswdtor
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 247141f commit 9d9bfd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/keyboard/adp5588-keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <linux/platform_device.h>
1818
#include <linux/input.h>
1919
#include <linux/i2c.h>
20-
#include <linux/gpio.h>
20+
#include <linux/gpio/driver.h>
2121
#include <linux/slab.h>
2222

2323
#include <linux/platform_data/adp5588.h>

0 commit comments

Comments
 (0)