mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
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>
This commit is contained in:
parent
899611ee7d
commit
f12f662f29
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user