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.
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -40,6 +40,7 @@ config IRQ_EDGE_EOI_HANDLER · 39 unmodified lines | |||
| 40 | # Generic configurable interrupt chip implementation | 40 | # Generic configurable interrupt chip implementation |
| 41 | config GENERIC_IRQ_CHIP | 41 | config GENERIC_IRQ_CHIP |
| 42 | bool | 42 | bool |
| 43 | select IRQ_DOMAIN | ||
| 43 | 44 | ||
| 44 | # Generic irq_domain hw <--> linux irq number translation | 45 | # Generic irq_domain hw <--> linux irq number translation |
| 45 | config IRQ_DOMAIN | 46 | config IRQ_DOMAIN |