summaryrefslogtreecommitdiff
path: root/hw/s390x/ap-bridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/ap-bridge.c')
-rw-r--r--hw/s390x/ap-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/ap-bridge.c b/hw/s390x/ap-bridge.c
index 8bcf8ece9d..ef8fa2b15b 100644
--- a/hw/s390x/ap-bridge.c
+++ b/hw/s390x/ap-bridge.c
@@ -55,7 +55,7 @@ void s390_init_ap(void)
sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal);
/* Create bus on bridge device */
- bus = qbus_create(TYPE_AP_BUS, dev, TYPE_AP_BUS);
+ bus = qbus_new(TYPE_AP_BUS, dev, TYPE_AP_BUS);
/* Enable hotplugging */
qbus_set_hotplug_handler(bus, OBJECT(dev));