diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-26 14:56:11 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-26 14:56:11 +0100 |
commit | 067a3ddc8876cee8451d6f690a051e413a593fdc (patch) | |
tree | 1e0d067b7784874397b189947fde6f05dc3434ad /hw/arm_gic.c | |
parent | c2fb26379e8bd0586f3ff054538217377f86635f (diff) |
Remove qdev irq sink handling
We have both IRQ sinks and GPIO inputs. These are in principle exactly
the same thing, so remove the former.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/arm_gic.c')
-rw-r--r-- | hw/arm_gic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_gic.c b/hw/arm_gic.c index 5dc9448360..817234da9d 100644 --- a/hw/arm_gic.c +++ b/hw/arm_gic.c @@ -721,7 +721,7 @@ static void gic_init(gic_state *s) { int i; - qdev_init_irq_sink(&s->busdev.qdev, gic_set_irq, GIC_NIRQ - 32); + qdev_init_gpio_in(&s->busdev.qdev, gic_set_irq, GIC_NIRQ - 32); for (i = 0; i < NCPU; i++) { sysbus_init_irq(&s->busdev, &s->parent_irq[i]); } |