summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-08-14 09:20:32 +0200
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-08-23 09:08:10 +0200
commitdf62267ddec54d93b6e280ba57052e7ecf3633f4 (patch)
tree3f61aba97e487f161c9ef31b438870d4ea1c76cb /drivers/pinctrl
parent8a0cc47ccc7c17826c669787f95ab7e5efb37444 (diff)
downloadlinux-stable-df62267ddec54d93b6e280ba57052e7ecf3633f4.tar.gz
linux-stable-df62267ddec54d93b6e280ba57052e7ecf3633f4.tar.bz2
linux-stable-df62267ddec54d93b6e280ba57052e7ecf3633f4.zip
pinctrl: sh-pfc: Include the right header
This is a GPIO driver, use the appropriate header <linux/gpio/driver.h> rather than the legacy <linux/gpio.h> header. Cc: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/sh-pfc/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sh-pfc/gpio.c b/drivers/pinctrl/sh-pfc/gpio.c
index 64c09aa374ae..5a55b8da7919 100644
--- a/drivers/pinctrl/sh-pfc/gpio.c
+++ b/drivers/pinctrl/sh-pfc/gpio.c
@@ -7,7 +7,7 @@
*/
#include <linux/device.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pinctrl/consumer.h>