gpio: Kconfig: DM_GPIO depends on OF_CONTROL
PATCH 1/1 gpio: Kconfig: DM_GPIO depends on OF_CONTROL
Building U-Boot with DM_GPIO set, but with OF_CONTROL unset fails.
Fixes:drivers/gpio/built-in.o: In function `gpio_request_tail':drivers/gpio/gpio-uclass.c:666: undefined reference to ofnode_get_name' drivers/gpio/built-in.o: In function _gpio_request_by_name_nodev':drivers/gpio/gpio-uclass.c:693: undefined reference to `ofnode_parse_phandle_with_args'
Signed-off-by Jörg Krause <[email protected]>
--- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +1 -0
@@ -7,6 +7,7 @@ menu "GPIO Support" config DM_GPIO bool "Enable Driver Model for GPIO drivers" depends on DM + depends on OF_CONTROL help Enable driver model for GPIO access. The standard GPIO interface (gpio_get_value(), etc.) is then implemented by
Signature · 1 line
2.14.1