[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <d15827a3-d0c8-e231-9f61-8507b3d7be3a@infradead.org>
Date: Mon, 27 Jul 2020 22:55:45 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: LKML <linux-kernel@...r.kernel.org>,
linux-mediatek@...ts.infradead.org,
Sean Wang <sean.wang@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH -mmotm] pinctrl: mediatek: fix build for tristate changes
From: Randy Dunlap <rdunlap@...radead.org>
Export mtk_is_virt_gpio() for the case when
CONFIG_PINCTRL_MTK=y
CONFIG_PINCTRL_MTK_V2=y
CONFIG_PINCTRL_MTK_MOORE=y
CONFIG_PINCTRL_MTK_PARIS=m
to fix this build error:
ERROR: modpost: "mtk_is_virt_gpio" [drivers/pinctrl/mediatek/pinctrl-paris.ko] undefined!
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Sean Wang <sean.wang@...nel.org>
Cc: linux-mediatek@...ts.infradead.org
---
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c | 1 +
1 file changed, 1 insertion(+)
--- mmotm-2020-0727-1818.orig/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
+++ mmotm-2020-0727-1818/drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c
@@ -264,6 +264,7 @@ bool mtk_is_virt_gpio(struct mtk_pinctrl
return virt_gpio;
}
+EXPORT_SYMBOL_GPL(mtk_is_virt_gpio);
static int mtk_xt_get_gpio_n(void *data, unsigned long eint_n,
unsigned int *gpio_n,
Powered by blists - more mailing lists