aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-12-17 19:49:18 +0100
committerKevin Wolf <kwolf@redhat.com>2010-12-17 19:57:26 +0100
commit653af235c8df7516a94762fc81e639fc08e9f6d9 (patch)
tree7719eeccc9b33e2959fa6f0284fc33a2313348a4
parentf56b18c08cd29bb47e4d6a72f97c44616bd0611e (diff)
downloadqemu-653af235c8df7516a94762fc81e639fc08e9f6d9.zip
qemu-653af235c8df7516a94762fc81e639fc08e9f6d9.tar.gz
qemu-653af235c8df7516a94762fc81e639fc08e9f6d9.tar.bz2
ide: Build fix for via.c
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--hw/ide/via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/via.c b/hw/ide/via.c
index 5b70bd2..0e90679 100644
--- a/hw/ide/via.c
+++ b/hw/ide/via.c
@@ -150,7 +150,7 @@ static void vt82c686b_init_ports(PCIIDEState *d) {
bmdma_init(&d->bus[i], &d->bmdma[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);
}
}