aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/i82378.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/isa/i82378.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/isa/i82378.c')
-rw-r--r--hw/isa/i82378.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/i82378.c b/hw/isa/i82378.c
index cced9aff26..278e178173 100644
--- a/hw/isa/i82378.c
+++ b/hw/isa/i82378.c
@@ -168,7 +168,7 @@ static void i82378_request_pic_irq(void *opaque, int irq, int level)
static void i82378_init(DeviceState *dev, I82378State *s)
{
- ISABus *isabus = DO_UPCAST(ISABus, qbus, qdev_get_child_bus(dev, "isa.0"));
+ ISABus *isabus = ISA_BUS(qdev_get_child_bus(dev, "isa.0"));
ISADevice *pit;
ISADevice *isa;
qemu_irq *out0_irq;