summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sh-pfc/gpio.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-08-14 10:20:32 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-08-23 10:08:10 +0300
commitdf62267ddec54d93b6e280ba57052e7ecf3633f4 (patch)
tree3f61aba97e487f161c9ef31b438870d4ea1c76cb /drivers/pinctrl/sh-pfc/gpio.c
parent8a0cc47ccc7c17826c669787f95ab7e5efb37444 (diff)
downloadlinux-df62267ddec54d93b6e280ba57052e7ecf3633f4.tar.xz
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/sh-pfc/gpio.c')
-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>