Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip: davinci-aintc: move the driver to drivers/irqchip

The aintc driver has now been cleaned up. Move it to drivers/irqchip
where it belongs. There's no device-tree support for any dm* board so
there's no IRQCHIP_OF_DECLARE() - there's only the exported init
function called from machine code.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

authored by

Bartosz Golaszewski and committed by
Sekhar Nori
0145beed 76adef46

+10 -8
+4 -7
arch/arm/mach-davinci/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 if ARCH_DAVINCI 3 3 4 - config AINTC 5 - bool 6 - 7 4 config CP_INTC 8 5 bool 9 6 select IRQ_DOMAIN ··· 14 17 15 18 config ARCH_DAVINCI_DM644x 16 19 bool "DaVinci 644x based system" 17 - select AINTC 20 + select DAVINCI_AINTC 18 21 select ARCH_DAVINCI_DMx 19 22 20 23 config ARCH_DAVINCI_DM355 21 24 bool "DaVinci 355 based system" 22 - select AINTC 25 + select DAVINCI_AINTC 23 26 select ARCH_DAVINCI_DMx 24 27 25 28 config ARCH_DAVINCI_DM646x 26 29 bool "DaVinci 646x based system" 27 - select AINTC 30 + select DAVINCI_AINTC 28 31 select ARCH_DAVINCI_DMx 29 32 30 33 config ARCH_DAVINCI_DA830 ··· 46 49 47 50 config ARCH_DAVINCI_DM365 48 51 bool "DaVinci 365 based system" 49 - select AINTC 52 + select DAVINCI_AINTC 50 53 select ARCH_DAVINCI_DMx 51 54 52 55 comment "DaVinci Board Type"
-1
arch/arm/mach-davinci/Makefile
··· 18 18 obj-$(CONFIG_ARCH_DAVINCI_DA830) += da830.o devices-da8xx.o usb-da8xx.o 19 19 obj-$(CONFIG_ARCH_DAVINCI_DA850) += da850.o devices-da8xx.o usb-da8xx.o 20 20 21 - obj-$(CONFIG_AINTC) += irq.o 22 21 obj-$(CONFIG_CP_INTC) += cp_intc.o 23 22 24 23 # Board specific
arch/arm/mach-davinci/irq.c drivers/irqchip/irq-davinci-aintc.c
+5
drivers/irqchip/Kconfig
··· 129 129 select GENERIC_IRQ_CHIP 130 130 select IRQ_DOMAIN 131 131 132 + config DAVINCI_AINTC 133 + bool 134 + select GENERIC_IRQ_CHIP 135 + select IRQ_DOMAIN 136 + 132 137 config DW_APB_ICTL 133 138 bool 134 139 select GENERIC_IRQ_CHIP
+1
drivers/irqchip/Makefile
··· 6 6 obj-$(CONFIG_ATH79) += irq-ath79-misc.o 7 7 obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2835.o 8 8 obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2836.o 9 + obj-$(CONFIG_DAVINCI_AINTC) += irq-davinci-aintc.o 9 10 obj-$(CONFIG_ARCH_EXYNOS) += exynos-combiner.o 10 11 obj-$(CONFIG_FARADAY_FTINTC010) += irq-ftintc010.o 11 12 obj-$(CONFIG_ARCH_HIP04) += irq-hip04.o