summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/Kconfig
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-10 15:46:56 +0100
committerJason Cooper <jason@lakedaemon.net>2016-02-16 17:36:16 +0000
commitfed6d3363182fd499cd7f70cf424cd3cba7aef26 (patch)
tree2c9c6d70ab43bb211d5d0a99d034e84cc8bb53aa /drivers/irqchip/Kconfig
parent36f90b0a2ddd60823fe193a85e60ff1906c2a9b3 (diff)
downloadop-kernel-dev-fed6d3363182fd499cd7f70cf424cd3cba7aef26.zip
op-kernel-dev-fed6d3363182fd499cd7f70cf424cd3cba7aef26.tar.gz
irqchip/armada-370-xp: Add Kconfig option for the driver
Instead of building the irq-armada-370-xp driver directly when CONFIG_ARCH_MVEBU is enabled, this commit introduces an intermediate CONFIG_ARMADA_370_XP_IRQ hidden Kconfig option. This allows this option to select other interrupt-related Kconfig options (which will be needed in follow-up commits) rather than having such selects done from arch/arm/mach-<foo>/. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Link: https://lkml.kernel.org/r/1455115621-22846-2-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/irqchip/Kconfig')
-rw-r--r--drivers/irqchip/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index fb50911..dfe4ed8 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -60,6 +60,11 @@ config ARM_VIC_NR
The maximum number of VICs available in the system, for
power management.
+config ARMADA_370_XP_IRQ
+ bool
+ default y if ARCH_MVEBU
+ select GENERIC_IRQ_CHIP
+
config ATMEL_AIC_IRQ
bool
select GENERIC_IRQ_CHIP
OpenPOWER on IntegriCloud