summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-08-20 07:11:35 -0400
committerLinus Walleij <linus.walleij@linaro.org>2019-08-21 03:02:40 -0400
commit954fc5d20454b6d1c14ea5177c72a9b7d22b8e13 (patch)
tree6a4d13c4e7b6afe2aea43563eb1b8b506484c436
parent6e28aaab07c19fb97cedea9840ef796f1a772350 (diff)
pinctrl: st: Include the right header
The ST pinctrl driver wants to provode a gpio_chip but is not including the header for this, fix the inclusion to use the right header. <linux/of_gpio.h> has to remain as the driver is calling of_get_named_gpio(). Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20190820111135.10701-1-linus.walleij@linaro.org
-rw-r--r--drivers/pinctrl/pinctrl-st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c
index b9688ea548da..25236b716fb3 100644
--- a/drivers/pinctrl/pinctrl-st.c
+++ b/drivers/pinctrl/pinctrl-st.c
@@ -12,8 +12,9 @@
12#include <linux/io.h> 12#include <linux/io.h>
13#include <linux/of.h> 13#include <linux/of.h>
14#include <linux/of_irq.h> 14#include <linux/of_irq.h>
15#include <linux/of_gpio.h> 15#include <linux/of_gpio.h> /* of_get_named_gpio() */
16#include <linux/of_address.h> 16#include <linux/of_address.h>
17#include <linux/gpio/driver.h>
17#include <linux/regmap.h> 18#include <linux/regmap.h>
18#include <linux/mfd/syscon.h> 19#include <linux/mfd/syscon.h>
19#include <linux/pinctrl/pinctrl.h> 20#include <linux/pinctrl/pinctrl.h>