diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2014-01-30 19:50:10 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-02-05 04:17:32 -0500 |
commit | 923fa4ea382f592dee2ba3b205befb90cbddf3af (patch) | |
tree | 2a06eb2f51fa65ee2ae27672313f82872cdbfe8a /kernel | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
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 <nitin.a.kamble@intel.com>
Link: http://lkml.kernel.org/r/1391129410-54548-2-git-send-email-nitin.a.kamble@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org # 3.11+
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/Kconfig b/kernel/irq/Kconfig index 4a1fef09f658..07cbdfea9ae2 100644 --- a/kernel/irq/Kconfig +++ b/kernel/irq/Kconfig | |||
@@ -40,6 +40,7 @@ config IRQ_EDGE_EOI_HANDLER | |||
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 |