mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
qbus: Rename qbus_create_inplace() to qbus_init()
Rename qbus_create_inplace() to qbus_init(); this is more in line with our usual naming convention for functions that in-place initialize objects. 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> Message-id: 20210923121153.23754-5-peter.maydell@linaro.org
This commit is contained in:
@@ -52,7 +52,7 @@ void hda_codec_bus_init(DeviceState *dev, HDACodecBus *bus, size_t bus_size,
|
||||
hda_codec_response_func response,
|
||||
hda_codec_xfer_func xfer)
|
||||
{
|
||||
qbus_create_inplace(bus, bus_size, TYPE_HDA_BUS, dev, NULL);
|
||||
qbus_init(bus, bus_size, TYPE_HDA_BUS, dev, NULL);
|
||||
bus->response = response;
|
||||
bus->xfer = xfer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user