summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel.blueman@gmail.com>2010-09-29 22:01:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-29 22:17:56 +0200
commitf12f662f29d5801e598c6bb4a71e54b2de218f72 (patch)
tree591c389ec99d992cb3b9b093ddc0463c929b7b1e /drivers/mtd/nand
parentLinux 2.6.36-rc6 (diff)
downloadlinux-f12f662f29d5801e598c6bb4a71e54b2de218f72.tar.xz
linux-f12f662f29d5801e598c6bb4a71e54b2de218f72.zip
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/nand')
-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 133d51528f8d..513e0a76a4a7 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;