]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/host/omap_hsmmc.c
ARM: OMAP: Get rid of controller vs slot confusion, initialize MMC devices dynamically
[linux-2.6-omap-h63xx.git] / drivers / mmc / host / omap_hsmmc.c
index 997f0dccd4209b231877b9cffc526fe196cdcad3..75e3a16274edc62ff01bec161c5fb13eaa9d3601 100644 (file)
@@ -816,7 +816,9 @@ static int __init omap_mmc_probe(struct platform_device *pdev)
        host            = mmc_priv(mmc);
        host->mmc       = mmc;
        host->pdata     = pdata;
+       host->dev       = &pdev->dev;
        host->use_dma   = 1;
+       host->dev->dma_mask = &pdata->dma_mask;
        host->dma_ch    = -1;
        host->irq       = irq;
        host->id        = pdev->id;