Skip to content

Commit 44e445e

Browse files
zhengbin13linusw
authored andcommitted
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: a1d1e0e ("pinctrl: nuvoton: Add driver for WPCM450") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zheng Bin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 168a0ab commit 44e445e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pinctrl/nuvoton/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
config PINCTRL_WPCM450
44
tristate "Pinctrl and GPIO driver for Nuvoton WPCM450"
55
depends on ARCH_WPCM450 || COMPILE_TEST
6+
depends on OF
67
select PINMUX
78
select PINCONF
89
select GENERIC_PINCONF

0 commit comments

Comments
 (0)