summaryrefslogtreecommitdiff
path: root/hw/ipack/tpci200.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ipack/tpci200.c')
-rw-r--r--hw/ipack/tpci200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ipack/tpci200.c b/hw/ipack/tpci200.c
index d107e134c4..1f764fc85b 100644
--- a/hw/ipack/tpci200.c
+++ b/hw/ipack/tpci200.c
@@ -611,8 +611,8 @@ static void tpci200_realize(PCIDevice *pci_dev, Error **errp)
pci_register_bar(&s->dev, 4, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->las2);
pci_register_bar(&s->dev, 5, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->las3);
- ipack_bus_new_inplace(&s->bus, sizeof(s->bus), DEVICE(pci_dev), NULL,
- N_MODULES, tpci200_set_irq);
+ ipack_bus_init(&s->bus, sizeof(s->bus), DEVICE(pci_dev),
+ N_MODULES, tpci200_set_irq);
}
static const VMStateDescription vmstate_tpci200 = {