aboutsummaryrefslogtreecommitdiff
path: root/hw/xio3130_upstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xio3130_upstream.c')
-rw-r--r--hw/xio3130_upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xio3130_upstream.c b/hw/xio3130_upstream.c
index 82556aaadc..cd5d97d211 100644
--- a/hw/xio3130_upstream.c
+++ b/hw/xio3130_upstream.c
@@ -57,7 +57,7 @@ static int xio3130_upstream_initfn(PCIDevice *d)
PCIEPort *p = DO_UPCAST(PCIEPort, br, br);
int rc;
- rc = pci_bridge_initfn(d);
+ rc = pci_bridge_initfn(d, TYPE_PCIE_BUS);
if (rc < 0) {
return rc;
}