irqchip/armada-370-xp: Add Kconfig option for the driver
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Feb 2016 14:46:56 +0000 (15:46 +0100)
committerJason Cooper <jason@lakedaemon.net>
Tue, 16 Feb 2016 17:36:16 +0000 (17:36 +0000)
commitfed6d3363182fd499cd7f70cf424cd3cba7aef26
tree2c9c6d70ab43bb211d5d0a99d034e84cc8bb53aa
parent36f90b0a2ddd60823fe193a85e60ff1906c2a9b3
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>
drivers/irqchip/Kconfig
drivers/irqchip/Makefile