X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tests%2Fsdhci-test.c;h=28d481b62f032bdc3e1b73323db6e7bb958ca743;hb=143e6db6fa4ecd2a85de740cc3754aeb86d1e802;hp=982f5ebbb2acbbd43ef52f91b0466ccca2e2be39;hpb=34c977489dd85e3528b0e5c3a02157c834560efa;p=mirror_qemu.git diff --git a/tests/sdhci-test.c b/tests/sdhci-test.c index 982f5ebbb2..28d481b62f 100644 --- a/tests/sdhci-test.c +++ b/tests/sdhci-test.c @@ -187,7 +187,7 @@ static QSDHCI *machine_start(const struct sdhci_t *test) global_qtest = qtest_initf("-machine %s -device sdhci-pci", test->machine); - s->pci.bus = qpci_init_pc(global_qtest, NULL); + s->pci.bus = qpci_new_pc(global_qtest, NULL); /* Find PCI device and verify it's the right one */ s->pci.dev = qpci_device_find(s->pci.bus, QPCI_DEVFN(4, 0));