]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/mmc/host/omap_hsmmc.c
mmc: Remove distinction between hw and phys segments
[mv-sheeva.git] / drivers / mmc / host / omap_hsmmc.c
index 4526d2791f2990229acbe9ef0f5c88286819807f..03c26e026506042ba567fce42404368a75aed6f3 100644 (file)
@@ -2105,8 +2105,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev)
 
        /* Since we do only SG emulation, we can have as many segs
         * as we want. */
-       mmc->max_phys_segs = 1024;
-       mmc->max_hw_segs = 1024;
+       mmc->max_segs = 1024;
 
        mmc->max_blk_size = 512;       /* Block Length at max can be 1024 */
        mmc->max_blk_count = 0xFFFF;    /* No. of Blocks is 16 bits */