Skip to content

Commit 923fa4e

Browse files
Nitin A KambleKAGA-KOKO
authored andcommitted
genirq: Generic irq chip requires IRQ_DOMAIN
The generic_chip.c uses interfaces from irq_domain.c which is controlled by the IRQ_DOMAIN config option, but there is no Kconfig dependency so the build can fail: linux/kernel/irq/generic-chip.c:400:11: error: 'irq_domain_xlate_onetwocell' undeclared here (not in a function) Select IRQ_DOMAIN when GENERIC_IRQ_CHIP is selected. Signed-off-by: Nitin A Kamble <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] # 3.11+
1 parent 38dbfb5 commit 923fa4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/irq/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ config IRQ_EDGE_EOI_HANDLER
4040
# Generic configurable interrupt chip implementation
4141
config GENERIC_IRQ_CHIP
4242
bool
43+
select IRQ_DOMAIN
4344

4445
# Generic irq_domain hw <--> linux irq number translation
4546
config IRQ_DOMAIN

0 commit comments

Comments
 (0)