pinctrl: st: Include the right header
diff mbox series

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

Commit Message

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

Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/pinctrl/pinctrl-st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

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>