aboutsummaryrefslogtreecommitdiff
path: root/tests/e1000e-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/e1000e-test.c')
-rw-r--r--tests/e1000e-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/e1000e-test.c b/tests/e1000e-test.c
index c9408a5d1f..5525589e5b 100644
--- a/tests/e1000e-test.c
+++ b/tests/e1000e-test.c
@@ -395,7 +395,7 @@ static void data_test_init(e1000e_device *d)
test_alloc = pc_alloc_init(global_qtest);
g_assert_nonnull(test_alloc);
- test_bus = qpci_init_pc(global_qtest, test_alloc);
+ test_bus = qpci_new_pc(global_qtest, test_alloc);
g_assert_nonnull(test_bus);
e1000e_device_init(test_bus, d);