Patchwork [1/3,NAND,OMAP] : Fixing compilation warning for 'nand/omap2.c'

login
register
mail settings
Submitter vimal singh
Date Jan. 6, 2010, 2 p.m.
Message ID <ce9ab5791001060600q1bef6ff5x602519e7db9e145@mail.gmail.com>
Download mbox | patch
Permalink /patch/71292/
State Awaiting Upstream, archived
Delegated to: Tony Lindgren
Headers show

Comments

Patch

diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index 1bb799f..4eea97c 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -505,7 +505,7 @@  static void omap_write_buf_dma_pref(struct mtd_info *mtd,
 		omap_write_buf_pref(mtd, buf, len);
 	else
 		/* start transfer in DMA mode */
-		omap_nand_dma_transfer(mtd, buf, len, 0x1);
+		omap_nand_dma_transfer(mtd, (u_char *) buf, len, 0x1);
 }

 /**