diff options
author | Peter Maydell | 2021-09-23 14:11:51 +0200 |
---|---|---|
committer | Peter Maydell | 2021-09-30 14:42:10 +0200 |
commit | d637e1dc6de0e171dca6fbb5384668c642aa5ab6 (patch) | |
tree | 8d1ba46048cf7c6bb01605029cbf3d15a7a81d38 /hw/audio | |
parent | pci: Rename pci_root_bus_new_inplace() to pci_root_bus_init() (diff) | |
download | qemu-d637e1dc6de0e171dca6fbb5384668c642aa5ab6.tar.gz qemu-d637e1dc6de0e171dca6fbb5384668c642aa5ab6.tar.xz qemu-d637e1dc6de0e171dca6fbb5384668c642aa5ab6.zip |
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
Diffstat (limited to 'hw/audio')
-rw-r--r-- | hw/audio/intel-hda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c index 4330213fff..8ce9df64e3 100644 --- a/hw/audio/intel-hda.c +++ b/hw/audio/intel-hda.c @@ -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; } |