summaryrefslogtreecommitdiffstats
path: root/hw/omap_mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/omap_mmc.c')
-rw-r--r--hw/omap_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_mmc.c b/hw/omap_mmc.c
index bbe3f28..15cbf06 100644
--- a/hw/omap_mmc.c
+++ b/hw/omap_mmc.c
@@ -619,7 +619,7 @@ struct omap_mmc_s *omap2_mmc_init(struct omap_target_agent_s *ta,
s->card = sd_init(bd, 0);
s->cdet = qemu_allocate_irqs(omap_mmc_cover_cb, s, 1)[0];
- sd_set_cb(s->card, 0, s->cdet);
+ sd_set_cb(s->card, NULL, s->cdet);
return s;
}
OpenPOWER on IntegriCloud