diff options
author | liguang | 2013-06-18 05:45:36 +0200 |
---|---|---|
committer | Michael Tokarev | 2013-06-21 20:52:50 +0200 |
commit | 6790f59da37f6b8d4f0fe3a6b17febf512511307 (patch) | |
tree | 11ba4c9d9e91af825847fe8ad3591c4c39192999 /hw/sd/milkymist-memcard.c | |
parent | qemu-char: use bool in qemu_chr_open_socket and simplify code a bit (diff) | |
download | qemu-6790f59da37f6b8d4f0fe3a6b17febf512511307.tar.gz qemu-6790f59da37f6b8d4f0fe3a6b17febf512511307.tar.xz qemu-6790f59da37f6b8d4f0fe3a6b17febf512511307.zip |
sd: pass bool parameter for sd_init
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/sd/milkymist-memcard.c')
-rw-r--r-- | hw/sd/milkymist-memcard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/milkymist-memcard.c b/hw/sd/milkymist-memcard.c index d5944bca69..61a8aadddd 100644 --- a/hw/sd/milkymist-memcard.c +++ b/hw/sd/milkymist-memcard.c @@ -250,7 +250,7 @@ static int milkymist_memcard_init(SysBusDevice *dev) DriveInfo *dinfo; dinfo = drive_get_next(IF_SD); - s->card = sd_init(dinfo ? dinfo->bdrv : NULL, 0); + s->card = sd_init(dinfo ? dinfo->bdrv : NULL, false); s->enabled = dinfo ? bdrv_is_inserted(dinfo->bdrv) : 0; memory_region_init_io(&s->regs_region, &memcard_mmio_ops, s, |