]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/host/omap_hsmmc.c
OMAP:MMC: Fix slot id definition on hsmmc probe.
[linux-2.6-omap-h63xx.git] / drivers / mmc / host / omap_hsmmc.c
index 8351c02233289e54ee82f53b5990ba90dbd45927..3d4a7d1b56284a11d993ee017fbeb7847da0c77e 100644 (file)
@@ -723,7 +723,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev)
        host->dma_ch    = -1;
        host->irq       = irq;
        host->id        = pdev->id;
-       host->slot_id   = pdev->id - 1;
+       host->slot_id   = 0;
        host->mapbase   = res->start;
        host->base      = ioremap(host->mapbase, SZ_4K);
        mmc->ops        = &mmc_omap_ops;