diff options
Diffstat (limited to 'hw/pci_bridge.c')
-rw-r--r-- | hw/pci_bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci_bridge.c b/hw/pci_bridge.c index 866f0b6c52..253e034981 100644 --- a/hw/pci_bridge.c +++ b/hw/pci_bridge.c @@ -324,7 +324,7 @@ int pci_bridge_initfn(PCIDevice *dev) br->bus_name = dev->qdev.id; } - qbus_create_inplace(&sec_bus->qbus, &pci_bus_info, &dev->qdev, + qbus_create_inplace(&sec_bus->qbus, TYPE_PCI_BUS, &dev->qdev, br->bus_name); sec_bus->parent_dev = dev; sec_bus->map_irq = br->map_irq; |