Linux-GPIO Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] pinctrl: sh-pfc: Include the right header
@ 2019-08-14  7:20 Linus Walleij
  2019-08-14  7:41 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2019-08-14  7:20 UTC (permalink / raw)
  To: linux-gpio; +Cc: Linus Walleij, Geert Uytterhoeven

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(-)

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>
-- 
2.21.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pinctrl: sh-pfc: Include the right header
  2019-08-14  7:20 [PATCH] pinctrl: sh-pfc: Include the right header Linus Walleij
@ 2019-08-14  7:41 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2019-08-14  7:41 UTC (permalink / raw)
  To: Linus Walleij; +Cc: open list:GPIO SUBSYSTEM, Geert Uytterhoeven

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14  7:20 [PATCH] pinctrl: sh-pfc: Include the right header Linus Walleij
2019-08-14  7:41 ` Geert Uytterhoeven

Linux-GPIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-gpio/0 linux-gpio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-gpio linux-gpio/ https://lore.kernel.org/linux-gpio \
		linux-gpio@vger.kernel.org linux-gpio@archiver.kernel.org
	public-inbox-index linux-gpio


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-gpio


AGPL code for this site: git clone https://public-inbox.org/ public-inbox