From 067a3ddc8876cee8451d6f690a051e413a593fdc Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 26 May 2009 14:56:11 +0100 Subject: 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 --- hw/realview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/realview.c') diff --git a/hw/realview.c b/hw/realview.c index 535f907..62d8bf5 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]); -- cgit v1.1