Thread (15 messages) 15 messages, 5 authors, 2012-10-31
STALE4964d
Revisions (9)
  1. v1 [diff vs current]
  2. v1 current
  3. v2 [diff vs current]
  4. v2 [diff vs current]
  5. v2 [diff vs current]
  6. v2 [diff vs current]
  7. v2 [diff vs current]
  8. v2 [diff vs current]
  9. v2 [diff vs current]

[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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help