Commit f12f662f authored by Daniel J Blueman's avatar Daniel J Blueman Committed by Linus Torvalds

fix OMAP2 MTD build failure

Fix build failure from recent interface change and merge.

Tested on OMAP3430.
Signed-off-by: default avatarDaniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 899611ee
...@@ -413,7 +413,7 @@ static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr, ...@@ -413,7 +413,7 @@ static inline int omap_nand_dma_transfer(struct mtd_info *mtd, void *addr,
prefetch_status = gpmc_read_status(GPMC_PREFETCH_COUNT); prefetch_status = gpmc_read_status(GPMC_PREFETCH_COUNT);
} while (prefetch_status); } while (prefetch_status);
/* disable and stop the PFPW engine */ /* disable and stop the PFPW engine */
gpmc_prefetch_reset(); gpmc_prefetch_reset(info->gpmc_cs);
dma_unmap_single(&info->pdev->dev, dma_addr, len, dir); dma_unmap_single(&info->pdev->dev, dma_addr, len, dir);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment