There is a build error when CONFIG_OF is disabled (tested with COMPILE_TEST enabled): drivers/pinctrl/bcm/pinctrl-nsp-mux.c:356:20: error: ‘pinconf_generic_dt_node_to_map_group’ undeclared here (not in a function) .dt_node_to_map = pinconf_generic_dt_node_to_map_group, This commit adds a dependency on CONFIG_OF for PINCTRL_NSP_MUX Kconfig symbol to fix this problem. Signed-off-by: Jérémy Lefaure <jeremy.lefaure@xxxxxxxxxxxx> --- drivers/pinctrl/bcm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/bcm/Kconfig b/drivers/pinctrl/bcm/Kconfig index 6351028..2a2df55 100644 --- a/drivers/pinctrl/bcm/Kconfig +++ b/drivers/pinctrl/bcm/Kconfig @@ -102,7 +102,7 @@ config PINCTRL_NS2_MUX config PINCTRL_NSP_MUX bool "Broadcom NSP IOMUX driver" - depends on (ARCH_BCM_NSP || COMPILE_TEST) + depends on OF && (ARCH_BCM_NSP || COMPILE_TEST) select PINMUX select GENERIC_PINCONF default ARCH_BCM_NSP -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html