aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc_prep.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-15 20:05:00 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-15 20:05:00 +0000
commitdea21e97f433093bd93b0fb55ec1e1eec3171158 (patch)
tree27ac97f2e9786e674f4a271cb5bba0e153ef0ad4 /hw/ppc_prep.c
parentfeef310217d4935e41f5ff5751f7c43e8d6403d3 (diff)
ide/isa: convert to qdev.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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 743dad2b77..5392072982 100644
--- a/hw/ppc_prep.c
+++ b/hw/ppc_prep.c
@@ -710,7 +710,7 @@ static void ppc_prep_init (ram_addr_t ram_size,
}
for(i = 0; i < MAX_IDE_BUS; i++) {
- isa_ide_init(ide_iobase[i], ide_iobase2[i], i8259[ide_irq[i]],
+ isa_ide_init(ide_iobase[i], ide_iobase2[i], ide_irq[i],
hd[2 * i],
hd[2 * i + 1]);
}