diff options
author | Paul Brook | 2009-05-26 15:56:11 +0200 |
---|---|---|
committer | Paul Brook | 2009-05-26 15:56:11 +0200 |
commit | 067a3ddc8876cee8451d6f690a051e413a593fdc (patch) | |
tree | 1e0d067b7784874397b189947fde6f05dc3434ad /hw/syborg.c | |
parent | Add dummy command to submakefiles (diff) | |
download | qemu-067a3ddc8876cee8451d6f690a051e413a593fdc.tar.gz qemu-067a3ddc8876cee8451d6f690a051e413a593fdc.tar.xz qemu-067a3ddc8876cee8451d6f690a051e413a593fdc.zip |
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.c')
-rw-r--r-- | hw/syborg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/syborg.c b/hw/syborg.c index ae0ca67027..5ca9977b24 100644 --- a/hw/syborg.c +++ b/hw/syborg.c @@ -58,7 +58,7 @@ static void syborg_init(ram_addr_t ram_size, dev = sysbus_create_simple("syborg,interrupt", 0xC0000000, cpu_pic[ARM_PIC_CPU_IRQ]); for (i = 0; i < 64; i++) { - pic[i] = qdev_get_irq_sink(dev, i); + pic[i] = qdev_get_gpio_in(dev, i); } sysbus_create_simple("syborg,rtc", 0xC0001000, NULL); |