[PATCH -mmotm] pinctrl: mediatek: fix build for tristate changes
Linus Walleij
linus.walleij at linaro.org
Tue Jul 28 04:20:41 EDT 2020
On Tue, Jul 28, 2020 at 7:55 AM Randy Dunlap <rdunlap at infradead.org> wrote:
> From: Randy Dunlap <rdunlap at infradead.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 at infradead.org>
> Cc: Sean Wang <sean.wang at kernel.org>
> Cc: linux-mediatek at lists.infradead.org
Good catch!
Thanks Randy, patch applied.
Yours,
Linus Walleij
More information about the Linux-mediatek
mailing list