genirq: Generic irq chip requires IRQ_DOMAIN
authorNitin A Kamble <nitin.a.kamble@intel.com>
Fri, 31 Jan 2014 00:50:10 +0000 (16:50 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 5 Feb 2014 09:17:32 +0000 (10:17 +0100)
commit923fa4ea382f592dee2ba3b205befb90cbddf3af
tree2a06eb2f51fa65ee2ae27672313f82872cdbfe8a
parent38dbfb59d1175ef458d006556061adeaa8751b72
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+
kernel/irq/Kconfig