diff options
Diffstat (limited to 'hw/versatile_pci.c')
-rw-r--r-- | hw/versatile_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/versatile_pci.c b/hw/versatile_pci.c index 32854c2f94..98a2f4fb12 100644 --- a/hw/versatile_pci.c +++ b/hw/versatile_pci.c @@ -84,12 +84,12 @@ static int pci_vpb_map_irq(PCIDevice *d, int irq_num) return irq_num; } -static void pci_vpb_set_irq(void *pic, int irq_num, int level) +static void pci_vpb_set_irq(qemu_irq *pic, int irq_num, int level) { - pic_set_irq_new(pic, pci_vpb_irq + irq_num, level); + qemu_set_irq(pic[pci_vpb_irq + irq_num], level); } -PCIBus *pci_vpb_init(void *pic, int irq, int realview) +PCIBus *pci_vpb_init(qemu_irq *pic, int irq, int realview) { PCIBus *s; PCIDevice *d; |