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/syborg_interrupt.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/syborg_interrupt.c')
-rw-r--r-- | hw/syborg_interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/syborg_interrupt.c b/hw/syborg_interrupt.c index e3fbbf7bf3..29e0d1a745 100644 --- a/hw/syborg_interrupt.c +++ b/hw/syborg_interrupt.c @@ -209,7 +209,7 @@ static void syborg_int_init(SysBusDevice *dev) sysbus_init_irq(dev, &s->parent_irq); s->num_irqs = qdev_get_prop_int(&dev->qdev, "num-interrupts", 64); - qdev_init_irq_sink(&dev->qdev, syborg_int_set_irq, s->num_irqs); + qdev_init_gpio_in(&dev->qdev, syborg_int_set_irq, s->num_irqs); iomemtype = cpu_register_io_memory(0, syborg_int_readfn, syborg_int_writefn, s); sysbus_init_mmio(dev, 0x1000, iomemtype); |