aboutsummaryrefslogtreecommitdiff
path: root/tests/sdhci-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sdhci-test.c')
-rw-r--r--tests/sdhci-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sdhci-test.c b/tests/sdhci-test.c
index 493023f..6b3a532 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_startf("-machine %s -device sdhci-pci",
test->machine);
- s->pci.bus = qpci_init_pc(NULL);
+ s->pci.bus = qpci_init_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));