From 653af235c8df7516a94762fc81e639fc08e9f6d9 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Fri, 17 Dec 2010 19:49:18 +0100 Subject: ide: Build fix for via.c Signed-off-by: Kevin Wolf --- hw/ide/via.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ide/via.c b/hw/ide/via.c index 5b70bd2578..0e906797cd 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); } } -- cgit v1.2.3