summaryrefslogtreecommitdiffstats
path: root/hw/ioh3420.c
diff options
context:
space:
mode:
authorAlex Williamson2013-03-14 23:01:11 +0100
committerMichael S. Tsirkin2013-03-26 20:02:18 +0100
commit60a0e44320cc2601236450fbe95d952830192a1d (patch)
tree1b7c7045b82c95019798fdf314be12d052e4a748 /hw/ioh3420.c
parentpci: Move PCI and PCIE type defines (diff)
downloadqemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.gz
qemu-60a0e44320cc2601236450fbe95d952830192a1d.tar.xz
qemu-60a0e44320cc2601236450fbe95d952830192a1d.zip
pci: Allow PCI bus creation interfaces to specify the type of bus
No change to any types. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ioh3420.c')
-rw-r--r--hw/ioh3420.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ioh3420.c b/hw/ioh3420.c
index 43f855427b..74d84d4dda 100644
--- a/hw/ioh3420.c
+++ b/hw/ioh3420.c
@@ -97,7 +97,7 @@ static int ioh3420_initfn(PCIDevice *d)
PCIESlot *s = DO_UPCAST(PCIESlot, port, p);
int rc;
- rc = pci_bridge_initfn(d);
+ rc = pci_bridge_initfn(d, TYPE_PCI_BUS);
if (rc < 0) {
return rc;
}