diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-01-07 10:45:59 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-01-12 11:52:16 -0500 |
commit | 9e47b8bf9815523a5816f2f83e73b13812d74014 (patch) | |
tree | 03e3f6c962bbe611917b49e7081fa3e241be846f | |
parent | cdbac5bb619a91c896c5aaba531575b9df644d38 (diff) |
irqchip: Move ARM vic.h to include/linux/irqchip/arm-vic.h
Now that we have VIC moved to drivers/irqchip and all VIC DT init for
platforms using irqchip_init, move gic.h and update the remaining
includes.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: STEricsson <STEricsson_nomadik_linux@list.st.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-netx/generic.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-nomadik/cpu-8815.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/include/mach/regs-irq.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/include/mach/tick.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pc100/include/mach/regs-irq.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-s5pc100/include/mach/tick.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-u300/core.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-versatile/core.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-irq-eint.c | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/s5p-irq.c | 3 | ||||
-rw-r--r-- | drivers/irqchip/irq-vic.c | 2 | ||||
-rw-r--r-- | include/linux/irqchip/arm-vic.h (renamed from arch/arm/include/asm/hardware/vic.h) | 1 |
14 files changed, 13 insertions, 15 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index e85bf17f2d2a..c533f37aad2f 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/i2c-gpio.h> | 34 | #include <linux/i2c-gpio.h> |
35 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
36 | #include <linux/export.h> | 36 | #include <linux/export.h> |
37 | #include <linux/irqchip/arm-vic.h> | ||
37 | 38 | ||
38 | #include <mach/hardware.h> | 39 | #include <mach/hardware.h> |
39 | #include <linux/platform_data/video-ep93xx.h> | 40 | #include <linux/platform_data/video-ep93xx.h> |
@@ -44,8 +45,6 @@ | |||
44 | #include <asm/mach/map.h> | 45 | #include <asm/mach/map.h> |
45 | #include <asm/mach/time.h> | 46 | #include <asm/mach/time.h> |
46 | 47 | ||
47 | #include <asm/hardware/vic.h> | ||
48 | |||
49 | #include "soc.h" | 48 | #include "soc.h" |
50 | 49 | ||
51 | /************************************************************************* | 50 | /************************************************************************* |
diff --git a/arch/arm/mach-netx/generic.c b/arch/arm/mach-netx/generic.c index aa627465d914..27c2cb7ab813 100644 --- a/arch/arm/mach-netx/generic.c +++ b/arch/arm/mach-netx/generic.c | |||
@@ -23,9 +23,9 @@ | |||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/irqchip/arm-vic.h> | ||
26 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
27 | #include <asm/mach/map.h> | 28 | #include <asm/mach/map.h> |
28 | #include <asm/hardware/vic.h> | ||
29 | #include <mach/netx-regs.h> | 29 | #include <mach/netx-regs.h> |
30 | #include <asm/mach/irq.h> | 30 | #include <asm/mach/irq.h> |
31 | 31 | ||
diff --git a/arch/arm/mach-nomadik/cpu-8815.c b/arch/arm/mach-nomadik/cpu-8815.c index 1273931303fb..351404673f6c 100644 --- a/arch/arm/mach-nomadik/cpu-8815.c +++ b/arch/arm/mach-nomadik/cpu-8815.c | |||
@@ -25,13 +25,13 @@ | |||
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/irq.h> | 26 | #include <linux/irq.h> |
27 | #include <linux/dma-mapping.h> | 27 | #include <linux/dma-mapping.h> |
28 | #include <linux/irqchip/arm-vic.h> | ||
28 | #include <linux/platform_data/clk-nomadik.h> | 29 | #include <linux/platform_data/clk-nomadik.h> |
29 | #include <linux/platform_data/pinctrl-nomadik.h> | 30 | #include <linux/platform_data/pinctrl-nomadik.h> |
30 | 31 | ||
31 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
32 | #include <mach/irqs.h> | 33 | #include <mach/irqs.h> |
33 | #include <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
34 | #include <asm/hardware/vic.h> | ||
35 | 35 | ||
36 | #include <asm/cacheflush.h> | 36 | #include <asm/cacheflush.h> |
37 | #include <asm/hardware/cache-l2x0.h> | 37 | #include <asm/hardware/cache-l2x0.h> |
diff --git a/arch/arm/mach-s3c64xx/common.c b/arch/arm/mach-s3c64xx/common.c index aef303b8997e..0b9c0ba44834 100644 --- a/arch/arm/mach-s3c64xx/common.c +++ b/arch/arm/mach-s3c64xx/common.c | |||
@@ -25,10 +25,10 @@ | |||
25 | #include <linux/dma-mapping.h> | 25 | #include <linux/dma-mapping.h> |
26 | #include <linux/irq.h> | 26 | #include <linux/irq.h> |
27 | #include <linux/gpio.h> | 27 | #include <linux/gpio.h> |
28 | #include <linux/irqchip/arm-vic.h> | ||
28 | 29 | ||
29 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
30 | #include <asm/mach/map.h> | 31 | #include <asm/mach/map.h> |
31 | #include <asm/hardware/vic.h> | ||
32 | #include <asm/system_misc.h> | 32 | #include <asm/system_misc.h> |
33 | 33 | ||
34 | #include <mach/map.h> | 34 | #include <mach/map.h> |
diff --git a/arch/arm/mach-s3c64xx/include/mach/regs-irq.h b/arch/arm/mach-s3c64xx/include/mach/regs-irq.h index bcce68a0bb75..6a1127891c87 100644 --- a/arch/arm/mach-s3c64xx/include/mach/regs-irq.h +++ b/arch/arm/mach-s3c64xx/include/mach/regs-irq.h | |||
@@ -15,6 +15,5 @@ | |||
15 | #ifndef __ASM_ARCH_REGS_IRQ_H | 15 | #ifndef __ASM_ARCH_REGS_IRQ_H |
16 | #define __ASM_ARCH_REGS_IRQ_H __FILE__ | 16 | #define __ASM_ARCH_REGS_IRQ_H __FILE__ |
17 | 17 | ||
18 | #include <asm/hardware/vic.h> | ||
19 | 18 | ||
20 | #endif /* __ASM_ARCH_6400_REGS_IRQ_H */ | 19 | #endif /* __ASM_ARCH_6400_REGS_IRQ_H */ |
diff --git a/arch/arm/mach-s3c64xx/include/mach/tick.h b/arch/arm/mach-s3c64xx/include/mach/tick.h index ebe18a9469b8..db9c1b1d56a4 100644 --- a/arch/arm/mach-s3c64xx/include/mach/tick.h +++ b/arch/arm/mach-s3c64xx/include/mach/tick.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #ifndef __ASM_ARCH_TICK_H | 15 | #ifndef __ASM_ARCH_TICK_H |
16 | #define __ASM_ARCH_TICK_H __FILE__ | 16 | #define __ASM_ARCH_TICK_H __FILE__ |
17 | 17 | ||
18 | #include <linux/irqchip/arm-vic.h> | ||
19 | |||
18 | /* note, the timer interrutps turn up in 2 places, the vic and then | 20 | /* note, the timer interrutps turn up in 2 places, the vic and then |
19 | * the timer block. We take the VIC as the base at the moment. | 21 | * the timer block. We take the VIC as the base at the moment. |
20 | */ | 22 | */ |
diff --git a/arch/arm/mach-s5pc100/include/mach/regs-irq.h b/arch/arm/mach-s5pc100/include/mach/regs-irq.h index 4d9036d0f288..761627897f30 100644 --- a/arch/arm/mach-s5pc100/include/mach/regs-irq.h +++ b/arch/arm/mach-s5pc100/include/mach/regs-irq.h | |||
@@ -14,6 +14,5 @@ | |||
14 | #define __ASM_ARCH_REGS_IRQ_H __FILE__ | 14 | #define __ASM_ARCH_REGS_IRQ_H __FILE__ |
15 | 15 | ||
16 | #include <mach/map.h> | 16 | #include <mach/map.h> |
17 | #include <asm/hardware/vic.h> | ||
18 | 17 | ||
19 | #endif /* __ASM_ARCH_REGS_IRQ_H */ | 18 | #endif /* __ASM_ARCH_REGS_IRQ_H */ |
diff --git a/arch/arm/mach-s5pc100/include/mach/tick.h b/arch/arm/mach-s5pc100/include/mach/tick.h index 20f68730ed18..0af8e41230ed 100644 --- a/arch/arm/mach-s5pc100/include/mach/tick.h +++ b/arch/arm/mach-s5pc100/include/mach/tick.h | |||
@@ -15,6 +15,8 @@ | |||
15 | #ifndef __ASM_ARCH_TICK_H | 15 | #ifndef __ASM_ARCH_TICK_H |
16 | #define __ASM_ARCH_TICK_H __FILE__ | 16 | #define __ASM_ARCH_TICK_H __FILE__ |
17 | 17 | ||
18 | #include <linux/irqchip/arm-vic.h> | ||
19 | |||
18 | /* note, the timer interrutps turn up in 2 places, the vic and then | 20 | /* note, the timer interrutps turn up in 2 places, the vic and then |
19 | * the timer block. We take the VIC as the base at the moment. | 21 | * the timer block. We take the VIC as the base at the moment. |
20 | */ | 22 | */ |
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index a9d3bcfa5c7e..26b48fa9ea62 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -31,11 +31,11 @@ | |||
31 | #include <linux/dma-mapping.h> | 31 | #include <linux/dma-mapping.h> |
32 | #include <linux/platform_data/clk-u300.h> | 32 | #include <linux/platform_data/clk-u300.h> |
33 | #include <linux/platform_data/pinctrl-coh901.h> | 33 | #include <linux/platform_data/pinctrl-coh901.h> |
34 | #include <linux/irqchip/arm-vic.h> | ||
34 | 35 | ||
35 | #include <asm/types.h> | 36 | #include <asm/types.h> |
36 | #include <asm/setup.h> | 37 | #include <asm/setup.h> |
37 | #include <asm/memory.h> | 38 | #include <asm/memory.h> |
38 | #include <asm/hardware/vic.h> | ||
39 | #include <asm/mach/map.h> | 39 | #include <asm/mach/map.h> |
40 | #include <asm/mach-types.h> | 40 | #include <asm/mach-types.h> |
41 | #include <asm/mach/arch.h> | 41 | #include <asm/mach/arch.h> |
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c index 5d5929450366..49ac384d2814 100644 --- a/arch/arm/mach-versatile/core.c +++ b/arch/arm/mach-versatile/core.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/amba/mmci.h> | 32 | #include <linux/amba/mmci.h> |
33 | #include <linux/amba/pl022.h> | 33 | #include <linux/amba/pl022.h> |
34 | #include <linux/io.h> | 34 | #include <linux/io.h> |
35 | #include <linux/irqchip/arm-vic.h> | ||
35 | #include <linux/irqchip/versatile-fpga.h> | 36 | #include <linux/irqchip/versatile-fpga.h> |
36 | #include <linux/gfp.h> | 37 | #include <linux/gfp.h> |
37 | #include <linux/clkdev.h> | 38 | #include <linux/clkdev.h> |
@@ -40,7 +41,6 @@ | |||
40 | #include <asm/irq.h> | 41 | #include <asm/irq.h> |
41 | #include <asm/hardware/arm_timer.h> | 42 | #include <asm/hardware/arm_timer.h> |
42 | #include <asm/hardware/icst.h> | 43 | #include <asm/hardware/icst.h> |
43 | #include <asm/hardware/vic.h> | ||
44 | #include <asm/mach-types.h> | 44 | #include <asm/mach-types.h> |
45 | 45 | ||
46 | #include <asm/mach/arch.h> | 46 | #include <asm/mach/arch.h> |
diff --git a/arch/arm/plat-samsung/s5p-irq-eint.c b/arch/arm/plat-samsung/s5p-irq-eint.c index 33bd3f3d20f5..faa651602780 100644 --- a/arch/arm/plat-samsung/s5p-irq-eint.c +++ b/arch/arm/plat-samsung/s5p-irq-eint.c | |||
@@ -15,8 +15,7 @@ | |||
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/device.h> | 16 | #include <linux/device.h> |
17 | #include <linux/gpio.h> | 17 | #include <linux/gpio.h> |
18 | 18 | #include <linux/irqchip/arm-vic.h> | |
19 | #include <asm/hardware/vic.h> | ||
20 | 19 | ||
21 | #include <plat/regs-irqtype.h> | 20 | #include <plat/regs-irqtype.h> |
22 | 21 | ||
diff --git a/arch/arm/plat-samsung/s5p-irq.c b/arch/arm/plat-samsung/s5p-irq.c index dfb47d638f03..103e371f5e35 100644 --- a/arch/arm/plat-samsung/s5p-irq.c +++ b/arch/arm/plat-samsung/s5p-irq.c | |||
@@ -13,8 +13,7 @@ | |||
13 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> |
14 | #include <linux/irq.h> | 14 | #include <linux/irq.h> |
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | 16 | #include <linux/irqchip/arm-vic.h> | |
17 | #include <asm/hardware/vic.h> | ||
18 | 17 | ||
19 | #include <mach/map.h> | 18 | #include <mach/map.h> |
20 | #include <plat/regs-timer.h> | 19 | #include <plat/regs-timer.h> |
diff --git a/drivers/irqchip/irq-vic.c b/drivers/irqchip/irq-vic.c index e9a8a7d2fec7..3cf97aaebe40 100644 --- a/drivers/irqchip/irq-vic.c +++ b/drivers/irqchip/irq-vic.c | |||
@@ -30,10 +30,10 @@ | |||
30 | #include <linux/syscore_ops.h> | 30 | #include <linux/syscore_ops.h> |
31 | #include <linux/device.h> | 31 | #include <linux/device.h> |
32 | #include <linux/amba/bus.h> | 32 | #include <linux/amba/bus.h> |
33 | #include <linux/irqchip/arm-vic.h> | ||
33 | 34 | ||
34 | #include <asm/exception.h> | 35 | #include <asm/exception.h> |
35 | #include <asm/mach/irq.h> | 36 | #include <asm/mach/irq.h> |
36 | #include <asm/hardware/vic.h> | ||
37 | 37 | ||
38 | #include "irqchip.h" | 38 | #include "irqchip.h" |
39 | 39 | ||
diff --git a/arch/arm/include/asm/hardware/vic.h b/include/linux/irqchip/arm-vic.h index de7aad1e255c..e3c82dc95756 100644 --- a/arch/arm/include/asm/hardware/vic.h +++ b/include/linux/irqchip/arm-vic.h | |||
@@ -32,6 +32,5 @@ struct pt_regs; | |||
32 | void __vic_init(void __iomem *base, int irq_start, u32 vic_sources, | 32 | void __vic_init(void __iomem *base, int irq_start, u32 vic_sources, |
33 | u32 resume_sources, struct device_node *node); | 33 | u32 resume_sources, struct device_node *node); |
34 | void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources, u32 resume_sources); | 34 | void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources, u32 resume_sources); |
35 | int vic_of_init(struct device_node *node, struct device_node *parent); | ||
36 | 35 | ||
37 | #endif | 36 | #endif |