From f455e98cf437c7bb8f2b23888bbd302fef3a3b28 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 28 Aug 2009 15:47:03 +0200 Subject: ide: pass down DriveInfo instead of BlockDriverState Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- hw/tosa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/tosa.c') 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); } } -- cgit v1.2.3