[PATCH] gpio: tb10x: GPIO_TB10X needs to select GENERIC_IRQ_CHIP

Subsystems: gpio subsystem, the rest

STALE4636d

2 messages, 2 authors, 2014-02-05 · open the first message on its own page

[PATCH] gpio: tb10x: GPIO_TB10X needs to select GENERIC_IRQ_CHIP

From: Axel Lin <hidden>
Date: 2014-02-04 10:59:50

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.

Signed-off-by: Axel Lin <redacted>
---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 6973387..903f24d 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -403,6 +403,7 @@ config GPIO_GRGPIO
 
 config GPIO_TB10X
 	bool
+	select GENERIC_IRQ_CHIP
 	select OF_GPIO
 
 comment "I2C GPIO expanders:"
-- 
1.8.1.2


Re: [PATCH] gpio: tb10x: GPIO_TB10X needs to select GENERIC_IRQ_CHIP

From: Linus Walleij <hidden>
Date: 2014-02-05 11:38:12

On Tue, Feb 4, 2014 at 11:59 AM, Axel Lin [off-list ref] wrote:
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.

Signed-off-by: Axel Lin <redacted>
Patch applied for fixes, thanks!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help