qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] ide: Fix build for cmd646.c


From: Andreas Färber
Subject: [Qemu-devel] Re: [PATCH] ide: Fix build for cmd646.c
Date: Fri, 17 Dec 2010 19:55:35 +0100

Am 17.12.2010 um 19:44 schrieb Kevin Wolf:

Signed-off-by: Kevin Wolf <address@hidden>
---
hw/ide/cmd646.c |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c
index 89ba836..5d5464a 100644
--- a/hw/ide/cmd646.c
+++ b/hw/ide/cmd646.c
@@ -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);
--
1.7.2.3

Acked-by: Andreas Färber <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]