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 <vimalsingh@xxxxxx> Signed-off-by: Juha Kuikka <juha.kuikka@xxxxxxxxx> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx> --- 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html