mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
hw/isa: Un-inline isa_bus_from_device()
No point in inlining isa_bus_from_device() which is only used at device realization time. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230210163744.32182-9-philmd@linaro.org> Reviewed-by: Bernhard Beschow <shentey@gmail.com>
This commit is contained in:
parent
88b5877734
commit
23c69bb822
2 changed files with 6 additions and 5 deletions
|
@ -164,6 +164,11 @@ bool isa_realize_and_unref(ISADevice *dev, ISABus *bus, Error **errp)
|
|||
return qdev_realize_and_unref(&dev->parent_obj, &bus->parent_obj, errp);
|
||||
}
|
||||
|
||||
ISABus *isa_bus_from_device(ISADevice *dev)
|
||||
{
|
||||
return ISA_BUS(qdev_get_parent_bus(DEVICE(dev)));
|
||||
}
|
||||
|
||||
ISADevice *isa_vga_init(ISABus *bus)
|
||||
{
|
||||
vga_interface_created = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue