Skip to content

Commit 1c6aace

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/keyboard/adp5589-keys.c

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

2424
#include <linux/input/adp5589.h>

0 commit comments

Comments
 (0)