OMAP2 NAND: Change __raw_readsl() to __raw_readsw()

This patch is taken from linux-omap tree submitted by Juha Kuikka (commit id:
352eeeabb67c2cb2cc613a02a62623790f360224).

Singed-off-by: Vimal Singh <vimalsi...@ti.com>
Signed-off-by: Juha Kuikka <juha.kui...@gmail.com>
Signed-off-by: Tony Lindgren <t...@atomide.com>
---
Patch is reworked to make it apply on omapzoom tree.

diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index a542272..cf26958 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -338,7 +338,7 @@ static void omap_read_buf16(struct mtd_info *mtd, u_char
*buf, int len)
 {
        struct nand_chip *nand = mtd->priv;

-       __raw_readsl(nand->IO_ADDR_R, buf, len / 2);
+       __raw_readsw(nand->IO_ADDR_R, buf, len / 2);
 }

 /*


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to