summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-09-19 00:03:13 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-09-19 01:38:27 +0200
commit22d7fe4984a23fea13f2fbc285e505624469de2a (patch)
treef268aec8ce48f67cda137201a91a407b283674e6 /drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
parentpinctrl: cherryview: Remove linux/init.h and sort headers (diff)
downloadlinux-22d7fe4984a23fea13f2fbc285e505624469de2a.tar.xz
linux-22d7fe4984a23fea13f2fbc285e505624469de2a.zip
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.h')
-rw-r--r--drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h b/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
index e0d4e68b7cdd..10d33ecaf456 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
+++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
@@ -9,6 +9,8 @@
#ifndef __PINCTRL_MTK_COMMON_V2_H
#define __PINCTRL_MTK_COMMON_V2_H
+#include <linux/gpio/driver.h>
+
#define MTK_INPUT 0
#define MTK_OUTPUT 1
#define MTK_DISABLE 0