pinctrl: sh-pfc: Include the right header
diff mbox series

Message ID 20190814072032.5876-1-linus.walleij@linaro.org
State New
Headers show
Series
  • pinctrl: sh-pfc: Include the right header
Related show

Commit Message

Linus Walleij Aug. 14, 2019, 7:20 a.m. UTC
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(-)

Comments

Geert Uytterhoeven Aug. 14, 2019, 7:41 a.m. UTC | #1
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

Patch
diff mbox series

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>