diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-06-10 07:32:23 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-06-15 22:05:28 +0200 |
commit | cd9ae806cdad8f1992e0ac9198c114c636693764 (patch) | |
tree | c7cd5c0467777e3c2148aaec860cdc44631e033c /include/hw/misc/auxbus.h | |
parent | 2214985408041b54e7f25ce76cd8e6d9e68c4be1 (diff) | |
download | qemu-cd9ae806cdad8f1992e0ac9198c114c636693764.zip qemu-cd9ae806cdad8f1992e0ac9198c114c636693764.tar.gz qemu-cd9ae806cdad8f1992e0ac9198c114c636693764.tar.bz2 |
auxbus: Eliminate aux_create_slave()
aux_create_slave() has become a trivial wrapper around qdev_new().
There's just one user. Eliminate.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200610053247.1583243-35-armbru@redhat.com>
Diffstat (limited to 'include/hw/misc/auxbus.h')
-rw-r--r-- | include/hw/misc/auxbus.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/hw/misc/auxbus.h b/include/hw/misc/auxbus.h index 0d849d9..15a8973 100644 --- a/include/hw/misc/auxbus.h +++ b/include/hw/misc/auxbus.h @@ -131,13 +131,6 @@ I2CBus *aux_get_i2c_bus(AUXBus *bus); */ void aux_init_mmio(AUXSlave *aux_slave, MemoryRegion *mmio); -/* aux_create_slave: Create a new device on an AUX bus - * - * @bus The AUX bus for the new device. - * @name The type of the device to be created. - */ -DeviceState *aux_create_slave(AUXBus *bus, const char *name); - /* aux_map_slave: Map the mmio for an AUX slave on the bus. * * @dev The AUX slave. |