diff options
Diffstat (limited to 'tests/sdhci-test.c')
-rw-r--r-- | tests/sdhci-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |