]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/mmc/host/mmc_spi.c
mmc: Remove distinction between hw and phys segments
[mv-sheeva.git] / drivers / mmc / host / mmc_spi.c
index 62a35822003ef5b0383c1c97ddaaaf05c1c7a479..5b0b50636ec40079efed06e2b9bcbe967f1ae0f0 100644 (file)
@@ -1345,8 +1345,7 @@ static int mmc_spi_probe(struct spi_device *spi)
 
        mmc->ops = &mmc_spi_ops;
        mmc->max_blk_size = MMC_SPI_BLOCKSIZE;
-       mmc->max_hw_segs = MMC_SPI_BLOCKSATONCE;
-       mmc->max_phys_segs = MMC_SPI_BLOCKSATONCE;
+       mmc->max_segs = MMC_SPI_BLOCKSATONCE;
        mmc->max_req_size = MMC_SPI_BLOCKSATONCE * MMC_SPI_BLOCKSIZE;
        mmc->max_blk_count = MMC_SPI_BLOCKSATONCE;