diff options
author | Vimal Singh <vimalsingh@ti.com> | 2010-01-05 08:19:24 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 17:46:13 +0100 |
commit | bdaefc41627b6f2815ef7aa476dfa4ebb3ad499f (patch) | |
tree | 169daf9e1d0efce5c7e0da9f711e9b4a39c87cce /drivers/mtd/nand/omap2.c | |
parent | mtd: move more manufacturers to the common cfi.h header file (diff) | |
download | linux-bdaefc41627b6f2815ef7aa476dfa4ebb3ad499f.tar.xz linux-bdaefc41627b6f2815ef7aa476dfa4ebb3ad499f.zip |
mtd: omap2: fixing compilation warning
Fixing below warning in compilation:
drivers/mtd/nand/omap2.c: In function 'omap_write_buf_dma_pref':
drivers/mtd/nand/omap2.c:508: warning: passing argument 2 of
'omap_nand_dma_transfer' discards qualifiers from pointer target type
Signed-off-by: Vimal Singh <vimalsingh@ti.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/omap2.c')
-rw-r--r-- | drivers/mtd/nand/omap2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 1bb799f0125c..4eea97c03b2b 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); } /** |