aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/pc_piix.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-07 13:49:13 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-07 14:55:33 +0200
commit4a17cc4f285d7ffe41847bf728cd88c736237416 (patch)
tree8660ca33cdb5f9852502a9287587ff27b5a529bc /hw/i386/pc_piix.c
parent2ae0e48d5fd2cb7c5bc5c392edf2dc33ac2959d0 (diff)
downloadqemu-4a17cc4f285d7ffe41847bf728cd88c736237416.zip
qemu-4a17cc4f285d7ffe41847bf728cd88c736237416.tar.gz
qemu-4a17cc4f285d7ffe41847bf728cd88c736237416.tar.bz2
isa: QOM'ify ISADevice
Rename its parent field and use DEVICE() where necessary. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/i386/pc_piix.c')
-rw-r--r--hw/i386/pc_piix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index d618570..af1e9af 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -199,7 +199,7 @@ static void pc_init1(MemoryRegion *system_memory,
dev = isa_ide_init(isa_bus, ide_iobase[i], ide_iobase2[i],
ide_irq[i],
hd[MAX_IDE_DEVS * i], hd[MAX_IDE_DEVS * i + 1]);
- idebus[i] = qdev_get_child_bus(&dev->qdev, "ide.0");
+ idebus[i] = qdev_get_child_bus(DEVICE(dev), "ide.0");
}
}