Skip to contentSkip to conversation

GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ

PATCH New Andrew Lunn 3 participants 3 messages Dec 2, 2012 – Jan 6, 2013 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ

This driver only builds when CONFIG_OF_IRQ is enabled. So add this as a dependency. Dockstar, and other none DT boards don't build because of this, when all other OF boards are disabled.

---
 drivers/gpio/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +1 -0
index 6dbc403..4d84c17 100644
@@ -153,6 +153,7 @@ config GPIO_MSM_V2
 config GPIO_MVEBU
 	def_bool y
 	depends on PLAT_ORION
+	depends on OF_IRQ
 	select GPIO_GENERIC
 	select GENERIC_IRQ_CHIP
 
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ

Quoted 16 lines · Andrew Lunn

This driver only builds when CONFIG_OF_IRQ is enabled. So add this as a dependency. Dockstar, and other none DT boards don't build because of this, when all other OF boards are disabled.

---
 drivers/gpio/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +0 -0
index 6dbc403..4d84c17 100644

drivers/gpio/Kconfig config GPIO_MSM_V2 · line 158

Quoted 6 lines
drivers/gpio/Kconfig +1 -0
@@ -153,6 +153,7 @@ config GPIO_MSM_V2
 config GPIO_MVEBU
        def_bool y
        depends on PLAT_ORION
+       depends on OF_IRQ
        select GPIO_GENERIC
        select GENERIC_IRQ_CHIP

This does not apply to the GPIO tree, I assume it's intended for the MVEBU tree.

Yours,
Linus Walleij

#2 lore raw

PATCH 1/1 GPIO: MVEBU: Fix so only built when CONFIG_OF_IRQ

In reply to Andrew Lunn
Quoted 10 lines · Andrew Lunn

This driver only builds when CONFIG_OF_IRQ is enabled. So add this as a dependency. Dockstar, and other none DT boards don't build because of this, when all other OF boards are disabled.

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

I believe this was superceded by:

bc1008c gpio/mvebu-gpio: Make mvebu-gpio depend on OF_CONFIG

by Gregory.

thx,

Jason.