diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-13 09:56:02 +0800 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-08-19 22:15:37 +0100 |
commit | 8084499bd7d44b2c96658d788e329f3c232eb050 (patch) | |
tree | 25a34711c80accf62a8fa6650a9e1dd8d02d078b /drivers/irqchip/Kconfig | |
parent | 3becd97e032a756f26e48d70a46bf776509ba6b2 (diff) | |
download | linux-stable-8084499bd7d44b2c96658d788e329f3c232eb050.tar.gz linux-stable-8084499bd7d44b2c96658d788e329f3c232eb050.tar.bz2 linux-stable-8084499bd7d44b2c96658d788e329f3c232eb050.zip |
irqchip/irq-ingenic-tcu: Fix COMPILE_TEST building
While do COMPILE_TEST building, if GENERIC_IRQ_CHIP is
not selected, it fails:
drivers/irqchip/irq-ingenic-tcu.o: In function `ingenic_tcu_intc_cascade':
irq-ingenic-tcu.c:(.text+0x13f): undefined reference to `irq_get_domain_generic_chip'
drivers/irqchip/irq-ingenic-tcu.o: In function `ingenic_tcu_irq_init':
irq-ingenic-tcu.c:(.init.text+0x97): undefined reference to `irq_generic_chip_ops'
irq-ingenic-tcu.c:(.init.text+0xdd): undefined reference to `__irq_alloc_domain_generic_chips'
irq-ingenic-tcu.c:(.init.text+0x10b): undefined reference to `irq_get_domain_generic_chip'
select GENERIC_IRQ_CHIP to fix this.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 9536eba03ec7 ("irqchip: Add irq-ingenic-tcu driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: <jason@lakedaemon.net>
Cc: <maz@kernel.org>
Cc: <paul@crapouillou.net>
Cc: <malat@debian.org>
Cc: <linux-kernel@vger.kernel.org>
Cc: <linux-mips@vger.kernel.org>
Cc: <linux-clk@vger.kernel.org>
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r-- | drivers/irqchip/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 3c8308e6b3a7..ccbb8973a324 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -320,6 +320,7 @@ config INGENIC_TCU_IRQ default MACH_INGENIC depends on MIPS || COMPILE_TEST select MFD_SYSCON + select GENERIC_IRQ_CHIP help Support for interrupts in the Timer/Counter Unit (TCU) of the Ingenic JZ47xx SoCs. |