mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
isa: QOM'ify ISABus
Rename its parent field and use ISA_BUS() where necessary. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
d2628b7d18
commit
2ae0e48d5f
7 changed files with 13 additions and 11 deletions
|
@ -450,7 +450,7 @@ ISABus *vt82c686b_init(PCIBus *bus, int devfn)
|
|||
|
||||
d = pci_create_simple_multifunction(bus, devfn, true, "VT82C686B");
|
||||
|
||||
return DO_UPCAST(ISABus, qbus, qdev_get_child_bus(&d->qdev, "isa.0"));
|
||||
return ISA_BUS(qdev_get_child_bus(DEVICE(d), "isa.0"));
|
||||
}
|
||||
|
||||
static void via_class_init(ObjectClass *klass, void *data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue