Re: [PATCH -next] pinctrl: nuvoton: wpcm450: Fix build error without OF
From: Linus Walleij
Date: Fri Mar 25 2022 - 16:15:55 EST
On Fri, Mar 25, 2022 at 8:30 AM Zheng Bin <zhengbin13@xxxxxxxxxx> wrote:
> If OF is not set, bulding fails:
>
> drivers/pinctrl/nuvoton/pinctrl-wpcm450.o: In function `wpcm450_dt_node_to_map':
> pinctrl-wpcm450.c:(.text+0x404): undefined reference to `pinconf_generic_dt_node_to_map'
>
> Make PINCTRL_WPCM450 depends on OF to fix this.
>
> Fixes: a1d1e0e3d80a ("pinctrl: nuvoton: Add driver for WPCM450")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zheng Bin <zhengbin13@xxxxxxxxxx>
Patch applied, thanks for fixing this so quickly Zheng!
Yours,
Linus Walleij