Input: adp5588-keys - Use the right header
PATCH 1/1 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.
Cc Jean-Francois Dagenais <[email protected]>
Cc Michael Hennerich <[email protected]>
Signed-off-by Linus Walleij <[email protected]>
--- drivers/input/keyboard/adp5588-keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/keyboard/adp5588-keys.c +1 -1
@@ -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>
Signature · 1 line
2.31.1
Quoted 7 lines · Linus Walleij
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.Cc Jean-Francois Dagenais <[email protected]>Cc Michael Hennerich <[email protected]>Signed-off-by Linus Walleij <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry