Skip to content

Commit 0fc3d74

Browse files
brglnsekhar
authored andcommitted
irqchip: davinci-cp-intc: move the driver to drivers/irqchip
The cp-intc driver has now been cleaned up. Move it to drivers/irqchip where it belongs. Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
1 parent 3114111 commit 0fc3d74

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

arch/arm/mach-davinci/Kconfig

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22
if ARCH_DAVINCI
33

4-
config CP_INTC
5-
bool
6-
select IRQ_DOMAIN
7-
84
config ARCH_DAVINCI_DMx
95
bool
106

@@ -33,13 +29,13 @@ config ARCH_DAVINCI_DA830
3329
select ARCH_DAVINCI_DA8XX
3430
# needed on silicon revs 1.0, 1.1:
3531
select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
36-
select CP_INTC
32+
select DAVINCI_CP_INTC
3733

3834
config ARCH_DAVINCI_DA850
3935
bool "DA850/OMAP-L138/AM18x based system"
4036
depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
4137
select ARCH_DAVINCI_DA8XX
42-
select CP_INTC
38+
select DAVINCI_CP_INTC
4339

4440
config ARCH_DAVINCI_DA8XX
4541
bool

arch/arm/mach-davinci/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ obj-$(CONFIG_ARCH_DAVINCI_DM365) += dm365.o devices.o
1818
obj-$(CONFIG_ARCH_DAVINCI_DA830) += da830.o devices-da8xx.o usb-da8xx.o
1919
obj-$(CONFIG_ARCH_DAVINCI_DA850) += da850.o devices-da8xx.o usb-da8xx.o
2020

21-
obj-$(CONFIG_CP_INTC) += cp_intc.o
22-
2321
# Board specific
2422
obj-$(CONFIG_MACH_DA8XX_DT) += da8xx-dt.o pdata-quirks.o
2523
obj-$(CONFIG_MACH_DAVINCI_EVM) += board-dm644x-evm.o

drivers/irqchip/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ config DAVINCI_AINTC
134134
select GENERIC_IRQ_CHIP
135135
select IRQ_DOMAIN
136136

137+
config DAVINCI_CP_INTC
138+
bool
139+
select GENERIC_IRQ_CHIP
140+
select IRQ_DOMAIN
141+
137142
config DW_APB_ICTL
138143
bool
139144
select GENERIC_IRQ_CHIP

drivers/irqchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ obj-$(CONFIG_ATH79) += irq-ath79-misc.o
77
obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2835.o
88
obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2836.o
99
obj-$(CONFIG_DAVINCI_AINTC) += irq-davinci-aintc.o
10+
obj-$(CONFIG_DAVINCI_CP_INTC) += irq-davinci-cp-intc.o
1011
obj-$(CONFIG_ARCH_EXYNOS) += exynos-combiner.o
1112
obj-$(CONFIG_FARADAY_FTINTC010) += irq-ftintc010.o
1213
obj-$(CONFIG_ARCH_HIP04) += irq-hip04.o

0 commit comments

Comments
 (0)