mmc: mmc_spi: replace flush_kernel_dcache_page with flush_dcache_page
[linux-2.6-microblaze.git] / drivers / mmc / host / mmc_spi.c
index 65c65bb..3d28a3d 100644 (file)
@@ -948,7 +948,7 @@ mmc_spi_data_do(struct mmc_spi_host *host, struct mmc_command *cmd,
 
                /* discard mappings */
                if (direction == DMA_FROM_DEVICE)
-                       flush_kernel_dcache_page(sg_page(sg));
+                       flush_dcache_page(sg_page(sg));
                kunmap(sg_page(sg));
                if (dma_dev)
                        dma_unmap_page(dma_dev, dma_addr, PAGE_SIZE, dir);