mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 02:58:29 +00:00
qbus: Rename qbus_create() to qbus_new()
Rename the "allocate and return" qbus creation function to qbus_new(), to bring it into line with our _init vs _new convention. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Corey Minyard <cminyard@mvista.com> Message-id: 20210923121153.23754-6-peter.maydell@linaro.org
This commit is contained in:
@@ -2729,7 +2729,7 @@ static void vmbus_bridge_realize(DeviceState *dev, Error **errp)
|
||||
return;
|
||||
}
|
||||
|
||||
bridge->bus = VMBUS(qbus_create(TYPE_VMBUS, dev, "vmbus"));
|
||||
bridge->bus = VMBUS(qbus_new(TYPE_VMBUS, dev, "vmbus"));
|
||||
}
|
||||
|
||||
static char *vmbus_bridge_ofw_unit_address(const SysBusDevice *dev)
|
||||
|
||||
Reference in New Issue
Block a user