Skip to contentSkip to conversation

Input: adp5588-keys - Use the right header

PATCH Applied Linus Walleij 2 participants 2 messages Aug 20, 2021 – Aug 30, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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]>
---
 drivers/input/keyboard/adp5588-keys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/keyboard/adp5588-keys.c +1 -1
index 90a59b973d00..1592da4de336 100644
@@ -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