Skip to content
Commit 44e445ed authored by Zheng Bin's avatar Zheng Bin Committed by Linus Walleij
Browse files

pinctrl: nuvoton: wpcm450: Fix build error without OF



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: a1d1e0e3 ("pinctrl: nuvoton: Add driver for WPCM450")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZheng Bin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/20220325074450.3228840-1-zhengbin13@huawei.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 168a0abf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment