summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-vic.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-10-28 00:25:26 +0200
committerRob Herring <rob.herring@calxeda.com>2013-01-12 17:52:14 +0100
commit44430ec068b207f985aa00b1d34bb5085dbc39d5 (patch)
tree6d2e69370398a9702128eb786c6bcf2c5eddf3a7 /drivers/irqchip/irq-vic.c
parentARM: samsung: remove unused tick.h (diff)
downloadlinux-44430ec068b207f985aa00b1d34bb5085dbc39d5.tar.xz
linux-44430ec068b207f985aa00b1d34bb5085dbc39d5.zip
irqchip: Move ARM VIC to drivers/irqchip
Now that we have drivers/irqchip, move VIC irqchip to drivers/irqchip. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to '')
-rw-r--r--drivers/irqchip/irq-vic.c (renamed from arch/arm/common/vic.c)5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/common/vic.c b/drivers/irqchip/irq-vic.c
index 49af6187885f..e9a8a7d2fec7 100644
--- a/arch/arm/common/vic.c
+++ b/drivers/irqchip/irq-vic.c
@@ -35,6 +35,8 @@
#include <asm/mach/irq.h>
#include <asm/hardware/vic.h>
+#include "irqchip.h"
+
#define VIC_IRQ_STATUS 0x00
#define VIC_FIQ_STATUS 0x04
#define VIC_INT_SELECT 0x0c /* 1 = FIQ, 0 = IRQ */
@@ -481,4 +483,7 @@ int __init vic_of_init(struct device_node *node, struct device_node *parent)
return 0;
}
+IRQCHIP_DECLARE(arm_pl190_vic, "arm,pl190-vic", vic_of_init);
+IRQCHIP_DECLARE(arm_pl192_vic, "arm,pl192-vic", vic_of_init);
+IRQCHIP_DECLARE(arm_versatile_vic, "arm,versatile-vic", vic_of_init);
#endif /* CONFIG OF */