mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
ide: Fix build for cmd646.c
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Acked-by: Andreas Färber <andreas.faerber@web.de>
This commit is contained in:
parent
e59d688ad1
commit
f56b18c08c
@ -255,9 +255,9 @@ static int pci_cmd646_ide_initfn(PCIDevice *dev)
|
||||
ide_init2(&d->bus[i], irq[i]);
|
||||
|
||||
bmdma_init(&d->bus[i], &d->bmdma[i]);
|
||||
bm->bus = &d->bus[i];
|
||||
d->bmdma[i].bus = &d->bus[i];
|
||||
qemu_add_vm_change_state_handler(d->bus[i].dma->ops->restart_cb,
|
||||
&d->bmdma[i]->dma);
|
||||
&d->bmdma[i].dma);
|
||||
}
|
||||
|
||||
vmstate_register(&dev->qdev, 0, &vmstate_ide_pci, d);
|
||||
|
Loading…
Reference in New Issue
Block a user