[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdb9Aw-8wXUFYnBy_LOpuTeB2RpnUB+QwWQiZ9R6BcwbGw@mail.gmail.com>
Date: Mon, 21 Nov 2022 14:36:34 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Ren Zhijie <renzhijie2@...wei.com>
Cc: zhanghongchen@...ngson.cn, zhuyinbo@...ngson.cn,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
yusongping@...wei.com
Subject: Re: [PATCH -next] pinctrl: pinctrl-loongson2: fix Kconfig dependency
On Mon, Nov 21, 2022 at 2:31 PM Ren Zhijie <renzhijie2@...wei.com> wrote:
> If CONFIG_PINCTRL_LOONGSON2=y and CONFIG_OF is not set,
> gcc complained about undefined reference:
>
> drivers/pinctrl/pinctrl-loongson2.o: In function `pinconf_generic_dt_node_to_map_all':
> pinctrl-loongson2.c:(.text+0x1c4): undefined reference to
> `pinconf_generic_dt_node_to_map'
>
> To fix this error, add depends on OF to
> config PINCTRL_LOONGSON2.
>
> Fixes: f73f88acbc18 ("pinctrl: pinctrl-loongson2: add pinctrl driver support")
> Signed-off-by: Ren Zhijie <renzhijie2@...wei.com>
Patch applied!
Yours,
Linus Walleij
Powered by blists - more mailing lists