diff options
Diffstat (limited to 'hw/omap_mmc.c')
-rw-r--r-- | hw/omap_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_mmc.c b/hw/omap_mmc.c index bbe3f28b62..15cbf06c87 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; } |