mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06: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:
parent
d637e1dc6d
commit
9388d1701e
14 changed files with 14 additions and 14 deletions
|
@ -680,7 +680,7 @@ typedef int (qdev_walkerfn)(DeviceState *dev, void *opaque);
|
|||
|
||||
void qbus_init(void *bus, size_t size, const char *typename,
|
||||
DeviceState *parent, const char *name);
|
||||
BusState *qbus_create(const char *typename, DeviceState *parent, const char *name);
|
||||
BusState *qbus_new(const char *typename, DeviceState *parent, const char *name);
|
||||
bool qbus_realize(BusState *bus, Error **errp);
|
||||
void qbus_unrealize(BusState *bus);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue