Message ID | 20190814072032.5876-1-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | df62267ddec54d93b6e280ba57052e7ecf3633f4 |
Headers | show |
Series | pinctrl: sh-pfc: Include the right header | expand |
Hi Linus, On Wed, Aug 14, 2019 at 9:20 AM Linus Walleij <linus.walleij@linaro.org> wrote: > This is a GPIO driver, use the appropriate header > <linux/gpio/driver.h> rather than the legacy <linux/gpio.h> > header. > > Cc: Geert Uytterhoeven <geert+renesas@glider.be> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > Geert tell me how you want me to handle this, you can send > it with your pull requests or I can apply it directly > if you're not queueing stuff right now. I am, hence will queue in sh-pfc-for-v5.4. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/drivers/pinctrl/sh-pfc/gpio.c b/drivers/pinctrl/sh-pfc/gpio.c index 64c09aa374ae..5a55b8da7919 100644 --- a/drivers/pinctrl/sh-pfc/gpio.c +++ b/drivers/pinctrl/sh-pfc/gpio.c @@ -7,7 +7,7 @@ */ #include <linux/device.h> -#include <linux/gpio.h> +#include <linux/gpio/driver.h> #include <linux/init.h> #include <linux/module.h> #include <linux/pinctrl/consumer.h>
This is a GPIO driver, use the appropriate header <linux/gpio/driver.h> rather than the legacy <linux/gpio.h> header. Cc: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- Geert tell me how you want me to handle this, you can send it with your pull requests or I can apply it directly if you're not queueing stuff right now. --- drivers/pinctrl/sh-pfc/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0