aboutsummaryrefslogtreecommitdiff
path: root/hw/ipack/ipack.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ipack/ipack.c')
-rw-r--r--hw/ipack/ipack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ipack/ipack.c b/hw/ipack/ipack.c
index d28e7f6449..ae20f36da6 100644
--- a/hw/ipack/ipack.c
+++ b/hw/ipack/ipack.c
@@ -35,7 +35,7 @@ void ipack_bus_init(IPackBus *bus, size_t bus_size,
uint8_t n_slots,
qemu_irq_handler handler)
{
- qbus_create_inplace(bus, bus_size, TYPE_IPACK_BUS, parent, NULL);
+ qbus_init(bus, bus_size, TYPE_IPACK_BUS, parent, NULL);
bus->n_slots = n_slots;
bus->set_irq = handler;
}