]> Git Repo - qemu.git/commitdiff
ide: Build fix for via.c
authorKevin Wolf <[email protected]>
Fri, 17 Dec 2010 18:49:18 +0000 (19:49 +0100)
committerKevin Wolf <[email protected]>
Fri, 17 Dec 2010 18:57:26 +0000 (19:57 +0100)
Signed-off-by: Kevin Wolf <[email protected]>
hw/ide/via.c

index 5b70bd2578703a334a05a408749441fcff3225d2..0e906797cd2dcae03b44d1f8e39682a046bea9ff 100644 (file)
@@ -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);
     }
 }
 
This page took 0.027926 seconds and 4 git commands to generate.