summaryrefslogtreecommitdiff
path: root/hw/realview.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-26 14:56:11 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-26 14:56:11 +0100
commit289c9e2bd68dd3248df68b60a8e980893be6b558 (patch)
tree1e0d067b7784874397b189947fde6f05dc3434ad /hw/realview.c
parent68c247e9c9798fcc7a74d62c2e9692419d6db2e3 (diff)
downloadqemu-289c9e2bd68dd3248df68b60a8e980893be6b558.tar.gz
qemu-289c9e2bd68dd3248df68b60a8e980893be6b558.tar.bz2
qemu-289c9e2bd68dd3248df68b60a8e980893be6b558.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/realview.c')
-rw-r--r--hw/realview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/realview.c b/hw/realview.c
index 535f907626..62d8bf5030 100644
--- a/hw/realview.c
+++ b/hw/realview.c
@@ -84,7 +84,7 @@ static void realview_init(ram_addr_t ram_size,
cpu_irq[3], NULL);
}
for (n = 0; n < 64; n++) {
- pic[n] = qdev_get_irq_sink(dev, n);
+ pic[n] = qdev_get_gpio_in(dev, n);
}
sysbus_create_simple("pl050_keyboard", 0x10006000, pic[20]);