From b9d38e9510b38a8c101fa50cbd6f75d9eff61261 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Mon, 21 Sep 2009 18:11:34 +0000 Subject: Fix Sparse warnings about using plain integer as NULL pointer Signed-off-by: Blue Swirl --- hw/omap_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/omap_mmc.c') 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; } -- cgit v1.2.3