> -----Original Message----- > From: Linus Walleij <linus.walleij@xxxxxxxxxx> > Sent: Dienstag, 17. August 2021 01:27 > To: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>; linux- > input@xxxxxxxxxxxxxxx > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>; Hennerich, Michael > <Michael.Hennerich@xxxxxxxxxx>; Alexandru Ardelean > <Alexandru.ardelean@xxxxxxxxxx> > Subject: [PATCH] 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. > > Cc: Michael Hennerich <michael.hennerich@xxxxxxxxxx> > Cc: Alexandru Ardelean <Alexandru.ardelean@xxxxxxxxxx> > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx> > --- > drivers/input/keyboard/adp5589-keys.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/input/keyboard/adp5589-keys.c > b/drivers/input/keyboard/adp5589-keys.c > index 654e0476406b..bdd264459a97 100644 > --- a/drivers/input/keyboard/adp5589-keys.c > +++ b/drivers/input/keyboard/adp5589-keys.c > @@ -18,7 +18,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/input/adp5589.h> > -- > 2.31.1