diff options
Diffstat (limited to 'hw/unin_pci.c')
-rw-r--r-- | hw/unin_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/unin_pci.c b/hw/unin_pci.c index e6d9a703e7..a202153922 100644 --- a/hw/unin_pci.c +++ b/hw/unin_pci.c @@ -256,7 +256,7 @@ PCIBus *pci_pmac_init(qemu_irq *pic) qdev_init(dev); s = sysbus_from_qdev(dev); d = FROM_SYSBUS(UNINState, s); - d->host_state.bus = pci_register_bus(NULL, "pci", + d->host_state.bus = pci_register_bus(&d->busdev.qdev, "pci", pci_unin_set_irq, pci_unin_map_irq, pic, 11 << 3, 4); |