aboutsummaryrefslogtreecommitdiff
path: root/hw/sd/omap_mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sd/omap_mmc.c')
-rw-r--r--hw/sd/omap_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/omap_mmc.c b/hw/sd/omap_mmc.c
index 937a47869a..6c92149c04 100644
--- a/hw/sd/omap_mmc.c
+++ b/hw/sd/omap_mmc.c
@@ -625,7 +625,7 @@ struct omap_mmc_s *omap2_mmc_init(struct omap_target_agent_s *ta,
exit(1);
}
- s->cdet = qemu_allocate_irqs(omap_mmc_cover_cb, s, 1)[0];
+ s->cdet = qemu_allocate_irq(omap_mmc_cover_cb, s, 0);
sd_set_cb(s->card, NULL, s->cdet);
return s;