]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: Add Kconfig symbols for sunxi drivers
authorSamuel Holland <samuel@sholland.org>
Mon, 9 May 2022 03:49:41 +0000 (22:49 -0500)
committerMarc Zyngier <maz@kernel.org>
Tue, 17 May 2022 09:13:57 +0000 (10:13 +0100)
commit25fe826b0189a42ecbf282fb391f97d71fea8746
tree317f001f57a061ddab6ebb5442b837e5e1cd9933
parenteacc5c9e899149f982063ddf48b9ef098cc3284d
irqchip: Add Kconfig symbols for sunxi drivers

Not all of these drivers are needed on every ARCH_SUNXI platform. In
particular, the ARCH_SUNXI symbol will be reused for the Allwinner D1,
a RISC-V SoC which contains none of these irqchips.

Introduce Kconfig symbols so we can select only the drivers actually
used by a particular set of platforms. This also lets us move the
irqchip driver dependencies to a more appropriate location.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220509034941.30704-1-samuel@sholland.org
arch/arm/mach-sunxi/Kconfig
arch/arm64/Kconfig.platforms
drivers/irqchip/Kconfig
drivers/irqchip/Makefile