Skip to content

Commit

Permalink
irqchip: Move ARM vic.h to include/linux/irqchip/arm-vic.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Rob Herring committed Jan 12, 2013
1 parent cdbac5b commit 9e47b8b
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 15 deletions.
3 changes: 1 addition & 2 deletions arch/arm/mach-ep93xx/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <linux/i2c-gpio.h>
#include <linux/spi/spi.h>
#include <linux/export.h>
#include <linux/irqchip/arm-vic.h>

#include <mach/hardware.h>
#include <linux/platform_data/video-ep93xx.h>
Expand All @@ -44,8 +45,6 @@
#include <asm/mach/map.h>
#include <asm/mach/time.h>

#include <asm/hardware/vic.h>

#include "soc.h"

/*************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-netx/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/irqchip/arm-vic.h>
#include <mach/hardware.h>
#include <asm/mach/map.h>
#include <asm/hardware/vic.h>
#include <mach/netx-regs.h>
#include <asm/mach/irq.h>

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-nomadik/cpu-8815.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
#include <linux/slab.h>
#include <linux/irq.h>
#include <linux/dma-mapping.h>
#include <linux/irqchip/arm-vic.h>
#include <linux/platform_data/clk-nomadik.h>
#include <linux/platform_data/pinctrl-nomadik.h>

#include <mach/hardware.h>
#include <mach/irqs.h>
#include <asm/mach/map.h>
#include <asm/hardware/vic.h>

#include <asm/cacheflush.h>
#include <asm/hardware/cache-l2x0.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c64xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
#include <linux/dma-mapping.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/irqchip/arm-vic.h>

#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/hardware/vic.h>
#include <asm/system_misc.h>

#include <mach/map.h>
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-s3c64xx/include/mach/regs-irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
#ifndef __ASM_ARCH_REGS_IRQ_H
#define __ASM_ARCH_REGS_IRQ_H __FILE__

#include <asm/hardware/vic.h>

#endif /* __ASM_ARCH_6400_REGS_IRQ_H */
2 changes: 2 additions & 0 deletions arch/arm/mach-s3c64xx/include/mach/tick.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#ifndef __ASM_ARCH_TICK_H
#define __ASM_ARCH_TICK_H __FILE__

#include <linux/irqchip/arm-vic.h>

/* note, the timer interrutps turn up in 2 places, the vic and then
* the timer block. We take the VIC as the base at the moment.
*/
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-s5pc100/include/mach/regs-irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
#define __ASM_ARCH_REGS_IRQ_H __FILE__

#include <mach/map.h>
#include <asm/hardware/vic.h>

#endif /* __ASM_ARCH_REGS_IRQ_H */
2 changes: 2 additions & 0 deletions arch/arm/mach-s5pc100/include/mach/tick.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#ifndef __ASM_ARCH_TICK_H
#define __ASM_ARCH_TICK_H __FILE__

#include <linux/irqchip/arm-vic.h>

/* note, the timer interrutps turn up in 2 places, the vic and then
* the timer block. We take the VIC as the base at the moment.
*/
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-u300/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
#include <linux/dma-mapping.h>
#include <linux/platform_data/clk-u300.h>
#include <linux/platform_data/pinctrl-coh901.h>
#include <linux/irqchip/arm-vic.h>

#include <asm/types.h>
#include <asm/setup.h>
#include <asm/memory.h>
#include <asm/hardware/vic.h>
#include <asm/mach/map.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-versatile/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <linux/amba/mmci.h>
#include <linux/amba/pl022.h>
#include <linux/io.h>
#include <linux/irqchip/arm-vic.h>
#include <linux/irqchip/versatile-fpga.h>
#include <linux/gfp.h>
#include <linux/clkdev.h>
Expand All @@ -40,7 +41,6 @@
#include <asm/irq.h>
#include <asm/hardware/arm_timer.h>
#include <asm/hardware/icst.h>
#include <asm/hardware/vic.h>
#include <asm/mach-types.h>

#include <asm/mach/arch.h>
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/plat-samsung/s5p-irq-eint.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
#include <linux/io.h>
#include <linux/device.h>
#include <linux/gpio.h>

#include <asm/hardware/vic.h>
#include <linux/irqchip/arm-vic.h>

#include <plat/regs-irqtype.h>

Expand Down
3 changes: 1 addition & 2 deletions arch/arm/plat-samsung/s5p-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/io.h>

#include <asm/hardware/vic.h>
#include <linux/irqchip/arm-vic.h>

#include <mach/map.h>
#include <plat/regs-timer.h>
Expand Down
2 changes: 1 addition & 1 deletion drivers/irqchip/irq-vic.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
#include <linux/syscore_ops.h>
#include <linux/device.h>
#include <linux/amba/bus.h>
#include <linux/irqchip/arm-vic.h>

#include <asm/exception.h>
#include <asm/mach/irq.h>
#include <asm/hardware/vic.h>

#include "irqchip.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@ struct pt_regs;
void __vic_init(void __iomem *base, int irq_start, u32 vic_sources,
u32 resume_sources, struct device_node *node);
void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources, u32 resume_sources);
int vic_of_init(struct device_node *node, struct device_node *parent);

#endif

0 comments on commit 9e47b8b

Please sign in to comment.