summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel.blueman@gmail.com>2010-09-29 20:01:55 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-29 20:17:56 (GMT)
commitf12f662f29d5801e598c6bb4a71e54b2de218f72 (patch)
tree591c389ec99d992cb3b9b093ddc0463c929b7b1e /drivers/mtd
parent899611ee7d373e5eeda08e9a8632684e1ebbbf00 (diff)
downloadlinux-fsl-qoriq-f12f662f29d5801e598c6bb4a71e54b2de218f72.tar.xz
fix OMAP2 MTD build failure
Fix build failure from recent interface change and merge. Tested on OMAP3430. Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/omap2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index 133d515..513e0a7 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -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);
} while (prefetch_status);
/* 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);
return 0;