Linux-GPIO Archive on
 help / color / Atom feed
* [PATCH] pinctrl: st: Include the right header
@ 2019-08-14  7:14 Linus Walleij
  0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2019-08-14  7:14 UTC (permalink / raw)
  To: linux-gpio; +Cc: Linus Walleij, Patrice Chotard, Maxime Coquelin

The ST pinctrl driver wants to provode a gpio_chip but is using
the wrong header for this, fix the inclusion to use the right

Cc: Patrice Chotard <>
Cc: Maxime Coquelin <>
Signed-off-by: Linus Walleij <>
 drivers/pinctrl/pinctrl-st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
index b9688ea548da..422bc8ec72ea 100644
--- a/drivers/pinctrl/pinctrl-st.c
+++ b/drivers/pinctrl/pinctrl-st.c
@@ -12,8 +12,8 @@
 #include <linux/io.h>
 #include <linux/of.h>
 #include <linux/of_irq.h>
-#include <linux/of_gpio.h>
 #include <linux/of_address.h>
+#include <linux/gpio/driver.h>
 #include <linux/regmap.h>
 #include <linux/mfd/syscon.h>
 #include <linux/pinctrl/pinctrl.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14  7:14 [PATCH] pinctrl: st: Include the right header Linus Walleij

Linux-GPIO Archive on

Archives are clonable:
	git clone --mirror 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/ \
	public-inbox-index linux-gpio

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox