From: =?UTF-8?q?J=C3=B6rg=20Krause?= Date: Fri, 15 Sep 2017 22:44:14 +0200 Subject: [U-Boot] [PATCH] gpio: Kconfig: DM_GPIO depends on OF_CONTROL Message-ID: <20170915204414.16459-1-joerg.krause@embedded.rocks> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de 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_phandl= e_with_args' Signed-off-by: J=C3=B6rg Krause --- drivers/gpio/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index ffeda9425a..d79beeafb5 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -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 --=20 2.14.1