]> git.proxmox.com Git - qemu.git/blobdiff - hw/omap_mmc.c
eepro100: Replace variable name to fix a compiler warning
[qemu.git] / hw / omap_mmc.c
index bbe3f28b62bce1634bc649b16a5855c8e07ccfbc..15cbf06c8792274aaf15dea81ce6fc978c79f24d 100644 (file)
@@ -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;
 }