summaryrefslogtreecommitdiff
path: root/hw/tosa.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-08-28 15:47:03 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:27 -0500
commitf455e98cf437c7bb8f2b23888bbd302fef3a3b28 (patch)
tree453978b84f1054ecbfd4c0c18ebc05f8d89474d0 /hw/tosa.c
parentddd9bbd93bb2c12ade72dff1790d6d292aac073f (diff)
downloadqemu-f455e98cf437c7bb8f2b23888bbd302fef3a3b28.tar.gz
ide: pass down DriveInfo instead of BlockDriverState
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/tosa.c')
-rw-r--r--hw/tosa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tosa.c b/hw/tosa.c
index 4c463e681f..bc6591f066 100644
--- a/hw/tosa.c
+++ b/hw/tosa.c
@@ -57,7 +57,7 @@ static void tosa_microdrive_attach(PXA2xxState *cpu)
return;
bs = dinfo->bdrv;
if (bdrv_is_inserted(bs) && !bdrv_is_removable(bs)) {
- md = dscm1xxxx_init(bs);
+ md = dscm1xxxx_init(dinfo);
pxa2xx_pcmcia_attach(cpu->pcmcia[0], md);
}
}