aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/cbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/cbus.c')
-rw-r--r--hw/misc/cbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/misc/cbus.c b/hw/misc/cbus.c
index 29b467b61f..495d5078fe 100644
--- a/hw/misc/cbus.c
+++ b/hw/misc/cbus.c
@@ -135,9 +135,9 @@ CBus *cbus_init(qemu_irq dat)
CBusPriv *s = (CBusPriv *) g_malloc0(sizeof(*s));
s->dat_out = dat;
- s->cbus.clk = qemu_allocate_irqs(cbus_clk, s, 1)[0];
- s->cbus.dat = qemu_allocate_irqs(cbus_dat, s, 1)[0];
- s->cbus.sel = qemu_allocate_irqs(cbus_sel, s, 1)[0];
+ s->cbus.clk = qemu_allocate_irq(cbus_clk, s, 0);
+ s->cbus.dat = qemu_allocate_irq(cbus_dat, s, 0);
+ s->cbus.sel = qemu_allocate_irq(cbus_sel, s, 0);
s->sel = 1;
s->clk = 0;