summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-09-19 01:03:13 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-09-19 02:38:27 +0300
commit22d7fe4984a23fea13f2fbc285e505624469de2a (patch)
treef268aec8ce48f67cda137201a91a407b283674e6 /drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
parent994f8865687dda7800701ed3c3564392da351fa5 (diff)
downloadlinux-22d7fe4984a23fea13f2fbc285e505624469de2a.tar.xz
pinctrl: mtk: Fix up GPIO includes
Include only <linux/gpio/driver.h> since this is a driver, not a consumer. Cc: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c')
-rw-r--r--drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c b/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
index e8a2066a4d15..167ebf43c089 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
@@ -8,7 +8,7 @@
#include <linux/device.h>
#include <linux/err.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/of_irq.h>