[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AANLkTime3uHvcrRLnJcM_L81QuQ-38SgL8xOfxK6wOTr@mail.gmail.com>
Date: Wed, 29 Sep 2010 21:01:55 +0100
From: Daniel J Blueman <daniel.blueman@...il.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: [2.6.36-rc6] fix OMAP2 MTD build failure
Hi Linus; here is a build failure one-liner:
Fix build failure from recent interface change and merge. Tested on OMAP3430.
Signed-off-by: Daniel J Blueman <daniel.blueman@...il.com>
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;
--
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists