]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: add CONFIG_OF dependencies for microchip drivers
authorArnd Bergmann <arnd@arndb.de>
Thu, 4 Dec 2025 09:50:14 +0000 (10:50 +0100)
committerLinus Walleij <linusw@kernel.org>
Thu, 4 Dec 2025 19:38:57 +0000 (20:38 +0100)
commit666065caa31aeb812978740bae21871067bb14b6
treecc7c9f0be33b6399adb76eb11558cbbad2afd800
parent9dc966799ac9a2573d970080334a801fcc283a1b
pinctrl: add CONFIG_OF dependencies for microchip drivers

The two newly added drivers fail to link on builds without
CONFIG_OF:

x86_64-linux-ld: drivers/pinctrl/pinctrl-pic64gx-gpio2.o: in function `pinconf_generic_dt_node_to_map_all':
pinctrl-pic64gx-gpio2.c:(.text+0xc9): undefined reference to `pinconf_generic_dt_node_to_map'
x86_64-linux-ld: drivers/pinctrl/pinctrl-mpfs-iomux0.o: in function `pinconf_generic_dt_node_to_map_all':
pinctrl-mpfs-iomux0.c:(.text+0xc9): undefined reference to `pinconf_generic_dt_node_to_map'

Add a Kconfig dependencies.

Fixes: 38cf9d641314 ("pinctrl: add pic64gx "gpio2" pinmux driver")
Fixes: 46397274da22 ("pinctrl: add polarfire soc iomux0 pinmux driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/Kconfig