irqchip/gic: Remove static irq_chip definition for eoimode1
authorJon Hunter <jonathanh@nvidia.com>
Tue, 10 May 2016 15:14:41 +0000 (16:14 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 11 May 2016 09:12:43 +0000 (10:12 +0100)
commitc2baa2f3f42fc6ea302bb666889c5843986a19a3
treec6e959dff84d756c03fdbb3d18cbb623a6beb710
parent26acfe7463dc7162e595a8f7bd7ef3e06111e25d
irqchip/gic: Remove static irq_chip definition for eoimode1

There are only 3 differences (not including the name) in the definitions
of the gic_chip and gic_eoimode1_chip structures. Instead of statically
defining the gic_eoimode1_chip structure, remove it and populate the
eoimode1 functions dynamically for the appropriate GIC irqchips.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic.c