aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek
diff options
context:
space:
mode:
authorMars Cheng <mars.cheng@mediatek.com>2018-09-21 12:07:36 +0800
committerLinus Walleij <linus.walleij@linaro.org>2018-09-21 09:12:06 -0700
commitecfcfb49886069013c0a0ebd11954bc7e5eadd64 (patch)
tree33387da3f6b137619f9db15c60d92f5b76a585d9 /drivers/pinctrl/mediatek
parentpinctrl: mediatek: fix static checker warning caused by EINT_NA (diff)
downloadlinux-dev-ecfcfb49886069013c0a0ebd11954bc7e5eadd64.tar.xz
linux-dev-ecfcfb49886069013c0a0ebd11954bc7e5eadd64.zip
pinctrl: mediatek: add no eint function for pin define
Add NO_EINT_SUPPORT back to pinctrl-mtk-common-v2.h as the alias of EINT_NA to indicate that some pin not capable of being controlled as eint and that is required by pinctrl-paris based driver as old pinctrl-mtk-common.h already had. Signed-off-by: Mars Cheng <mars.cheng@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek')
-rw-r--r--drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h b/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
index b618042efac7..991c1c56670c 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
+++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
@@ -19,6 +19,7 @@
#define MTK_PULLUP 1
#define EINT_NA U16_MAX
+#define NO_EINT_SUPPORT EINT_NA
#define PIN_FIELD_CALC(_s_pin, _e_pin, _i_base, _s_addr, _x_addrs, \
_s_bit, _x_bits, _sz_reg, _fixed) { \