aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/auxbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/auxbus.c')
-rw-r--r--hw/misc/auxbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/auxbus.c b/hw/misc/auxbus.c
index 434ff8d910..8a8012f5f0 100644
--- a/hw/misc/auxbus.c
+++ b/hw/misc/auxbus.c
@@ -65,7 +65,7 @@ AUXBus *aux_bus_init(DeviceState *parent, const char *name)
AUXBus *bus;
Object *auxtoi2c;
- bus = AUX_BUS(qbus_create(TYPE_AUX_BUS, parent, name));
+ bus = AUX_BUS(qbus_new(TYPE_AUX_BUS, parent, name));
auxtoi2c = object_new_with_props(TYPE_AUXTOI2C, OBJECT(bus), "i2c",
&error_abort, NULL);