summaryrefslogtreecommitdiffstats
path: root/hw/isa/isa-bus.c
diff options
context:
space:
mode:
authorPeter Maydell2021-09-23 14:11:52 +0200
committerPeter Maydell2021-09-30 14:44:08 +0200
commit9388d1701efa87095d31ed5f68793dfc82cdd47e (patch)
tree8883139092112b5341122c18ddc3c50158c23769 /hw/isa/isa-bus.c
parentqbus: Rename qbus_create_inplace() to qbus_init() (diff)
downloadqemu-9388d1701efa87095d31ed5f68793dfc82cdd47e.tar.gz
qemu-9388d1701efa87095d31ed5f68793dfc82cdd47e.tar.xz
qemu-9388d1701efa87095d31ed5f68793dfc82cdd47e.zip
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
Diffstat (limited to 'hw/isa/isa-bus.c')
-rw-r--r--hw/isa/isa-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c
index cffaa35e9c..6c31398dda 100644
--- a/hw/isa/isa-bus.c
+++ b/hw/isa/isa-bus.c
@@ -64,7 +64,7 @@ ISABus *isa_bus_new(DeviceState *dev, MemoryRegion* address_space,
sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal);
}
- isabus = ISA_BUS(qbus_create(TYPE_ISA_BUS, dev, NULL));
+ isabus = ISA_BUS(qbus_new(TYPE_ISA_BUS, dev, NULL));
isabus->address_space = address_space;
isabus->address_space_io = address_space_io;
return isabus;