diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2009-08-28 15:47:03 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-04 09:37:27 -0500 |
| commit | f455e98cf437c7bb8f2b23888bbd302fef3a3b28 (patch) | |
| tree | 453978b84f1054ecbfd4c0c18ebc05f8d89474d0 /hw/tosa.c | |
| parent | ddd9bbd93bb2c12ade72dff1790d6d292aac073f (diff) | |
| download | focaccia-qemu-f455e98cf437c7bb8f2b23888bbd302fef3a3b28.tar.gz focaccia-qemu-f455e98cf437c7bb8f2b23888bbd302fef3a3b28.zip | |
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.c | 2 |
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); } } |