Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mars Cheng and committed by
Linus Walleij
ecfcfb49 7f2e29e1

+1
+1
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h
··· 19 19 #define MTK_PULLUP 1 20 20 21 21 #define EINT_NA U16_MAX 22 + #define NO_EINT_SUPPORT EINT_NA 22 23 23 24 #define PIN_FIELD_CALC(_s_pin, _e_pin, _i_base, _s_addr, _x_addrs, \ 24 25 _s_bit, _x_bits, _sz_reg, _fixed) { \