summaryrefslogtreecommitdiff
path: root/hw/ppc/prep.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-07 14:11:07 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-07 14:55:25 +0200
commit2ae0e48d5fd2cb7c5bc5c392edf2dc33ac2959d0 (patch)
tree2a614f1d75125766ed76394ede8bfa5e70670aa6 /hw/ppc/prep.c
parentd2628b7d18521dacd3d4d246602e9bb3fc2a43dd (diff)
isa: QOM'ify ISABus
Rename its parent field and use ISA_BUS() where necessary. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/ppc/prep.c')
-rw-r--r--hw/ppc/prep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index be8a50ec4a..9e770ab350 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
@@ -601,7 +601,7 @@ static void ppc_prep_init(QEMUMachineInitArgs *args)
sysbus_connect_irq(&pcihost->busdev, 1, qdev_get_gpio_in(&pci->qdev, 11));
sysbus_connect_irq(&pcihost->busdev, 2, qdev_get_gpio_in(&pci->qdev, 9));
sysbus_connect_irq(&pcihost->busdev, 3, qdev_get_gpio_in(&pci->qdev, 11));
- isa_bus = DO_UPCAST(ISABus, qbus, qdev_get_child_bus(&pci->qdev, "isa.0"));
+ isa_bus = ISA_BUS(qdev_get_child_bus(DEVICE(pci), "isa.0"));
/* Super I/O (parallel + serial ports) */
isa = isa_create(isa_bus, TYPE_PC87312);