Skip to contentSkip to conversation

gpio: tb10x: GPIO_TB10X needs to select GENERIC_IRQ_CHIP

PATCH In review Axel Lin 2 participants 2 messages Feb 4, 2014 – Feb 5, 2014 GPIO

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 gpio: tb10x: GPIO_TB10X needs to select GENERIC_IRQ_CHIP

gpio-tb10x driver uses generic irq chip APIs (irq_alloc_domain_generic_chips, irq_remove_generic_chip), so it needs to select GENERIC_IRQ_CHIP to avoid build error.

---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +1 -0
index 6973387..903f24d 100644
@@ -403,6 +403,7 @@ config GPIO_GRGPIO
 
 config GPIO_TB10X
 	bool
+	select GENERIC_IRQ_CHIP
 	select OF_GPIO
 
 comment "I2C GPIO expanders:"
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 5 lines · Axel Lin

gpio-tb10x driver uses generic irq chip APIs (irq_alloc_domain_generic_chips, irq_remove_generic_chip), so it needs to select GENERIC_IRQ_CHIP to avoid build error.

Patch applied for fixes, thanks!

Yours,
Linus Walleij