From 954fc5d20454b6d1c14ea5177c72a9b7d22b8e13 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 20 Aug 2019 13:11:35 +0200 Subject: [PATCH] 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. has to remain as the driver is calling of_get_named_gpio(). Cc: Patrice Chotard Cc: Maxime Coquelin Signed-off-by: Linus Walleij Link: https://lore.kernel.org/r/20190820111135.10701-1-linus.walleij@linaro.org --- drivers/pinctrl/pinctrl-st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ #include #include #include -#include +#include /* of_get_named_gpio() */ #include +#include #include #include #include