diff options
author | Peter Maydell | 2021-09-23 14:11:52 +0200 |
---|---|---|
committer | Peter Maydell | 2021-09-30 14:44:08 +0200 |
commit | 9388d1701efa87095d31ed5f68793dfc82cdd47e (patch) | |
tree | 8883139092112b5341122c18ddc3c50158c23769 /hw/s390x/css-bridge.c | |
parent | qbus: Rename qbus_create_inplace() to qbus_init() (diff) | |
download | qemu-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/s390x/css-bridge.c')
-rw-r--r-- | hw/s390x/css-bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/css-bridge.c b/hw/s390x/css-bridge.c index 191b29f077..4017081d49 100644 --- a/hw/s390x/css-bridge.c +++ b/hw/s390x/css-bridge.c @@ -106,7 +106,7 @@ VirtualCssBus *virtual_css_bus_init(void) sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); /* Create bus on bridge device */ - bus = qbus_create(TYPE_VIRTUAL_CSS_BUS, dev, "virtual-css"); + bus = qbus_new(TYPE_VIRTUAL_CSS_BUS, dev, "virtual-css"); cbus = VIRTUAL_CSS_BUS(bus); /* Enable hotplugging */ |