[PATCH 2/3] irqchip: Move ARM VIC to drivers/irqchip
From: Stephen Warren <hidden>
Date: 2012-10-30 18:27:32
On 10/30/2012 08:54 AM, Rob Herring wrote:
From: Rob Herring <redacted> Now that we have drivers/irqchip, move VIC irqchip to drivers/irqchip.
quoted hunk ↗ jump to hunk
diff --git a/arch/arm/common/vic.c b/drivers/irqchip/irq-vic.c similarity index 100% rename from arch/arm/common/vic.c rename to drivers/irqchip/irq-vic.c
"gic" and "vic" seems a little generic for filenames and symbol names; what about irq-arm-vic.c and irq-arm-gic.c? Similarly...
quoted hunk ↗ jump to hunk
diff --git a/drivers/irqchip/irqchip.h b/drivers/irqchip/irqchip.h
int gic_of_init(struct device_node *node, struct device_node *parent); +int vic_of_init(struct device_node *node, struct device_node *parent);
... perhaps rename those to arm_[gv]ic_of_init()? Are/will there be multiple versions of the GIC? I guess we can always introduce a GIC2 later if needed, and leave the current one with an unversioned name.