pinctrl: ingenic: Include the right header

Message ID 20180829114104.2350-1-linus.walleij@linaro.org
State Accepted
Commit 28d6eeb4f06634e5f7c98cad7b91c7981b82e3a6
Headers show
Series
  • pinctrl: ingenic: Include the right header
Related show

Commit Message

Linus Walleij Aug. 29, 2018, 11:41 a.m.
This is a GPIO driver so only include <linux/gpio/driver.h>

Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/pinctrl/pinctrl-ingenic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Patch

diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/pinctrl/pinctrl-ingenic.c
index dc7031a2dca7..97821514baf5 100644
--- a/drivers/pinctrl/pinctrl-ingenic.c
+++ b/drivers/pinctrl/pinctrl-ingenic.c
@@ -7,7 +7,7 @@ 
  */
 
 #include <linux/compiler.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/of_device.h>