Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;