mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06: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:
parent
8d4cdf01f8
commit
d637e1dc6d
32 changed files with 54 additions and 61 deletions
|
@ -678,8 +678,8 @@ DeviceState *qdev_find_recursive(BusState *bus, const char *id);
|
|||
typedef int (qbus_walkerfn)(BusState *bus, void *opaque);
|
||||
typedef int (qdev_walkerfn)(DeviceState *dev, void *opaque);
|
||||
|
||||
void qbus_create_inplace(void *bus, size_t size, const char *typename,
|
||||
DeviceState *parent, const char *name);
|
||||
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);
|
||||
bool qbus_realize(BusState *bus, Error **errp);
|
||||
void qbus_unrealize(BusState *bus);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue