diff mbox series

pinctrl: equilibrium: add CONFIG_OF dependency

Message ID 20191210195853.883483-1-arnd@arndb.de
State New
Headers show
Series pinctrl: equilibrium: add CONFIG_OF dependency | expand

Commit Message

Arnd Bergmann Dec. 10, 2019, 7:58 p.m. UTC
Without this, randconfig builds get a link failure

drivers/pinctrl/pinctrl-equilibrium.o: In function `pinconf_generic_dt_node_to_map_all':
pinctrl-equilibrium.c:(.text+0x96d): undefined reference to `pinconf_generic_dt_node_to_map'

Fixes: 1948d5c51dba ("pinctrl: Add pinmux & GPIO controller driver for a new SoC")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 drivers/pinctrl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.0

Comments

Linus Walleij Dec. 16, 2019, 8:16 a.m. UTC | #1
On Tue, Dec 10, 2019 at 8:58 PM Arnd Bergmann <arnd@arndb.de> wrote:

> Without this, randconfig builds get a link failure

>

> drivers/pinctrl/pinctrl-equilibrium.o: In function `pinconf_generic_dt_node_to_map_all':

> pinctrl-equilibrium.c:(.text+0x96d): undefined reference to `pinconf_generic_dt_node_to_map'

>

> Fixes: 1948d5c51dba ("pinctrl: Add pinmux & GPIO controller driver for a new SoC")

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>


Rahul sent an identical patch that was previously applied,
but thanks anyways!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 3bfbf2ff6e2b..ba0cad4bd072 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -422,6 +422,7 @@  config PINCTRL_TB10X
 
 config PINCTRL_EQUILIBRIUM
 	tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC"
+	depends on OF
 	select PINMUX
 	select PINCONF
 	select GPIOLIB