[PATCH 2/3] irqchip: Move ARM VIC to drivers/irqchip
Stephen Warren
swarren at wwwdotorg.org
Tue Oct 30 14:27:32 EDT 2012
On 10/30/2012 08:54 AM, Rob Herring wrote:
> From: Rob Herring <rob.herring at calxeda.com>
>
> Now that we have drivers/irqchip, move VIC irqchip to drivers/irqchip.
> 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...
> 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.
More information about the linux-arm-kernel
mailing list