From: Felipe Balbi <felipe.balbi@xxxxxxxxx> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx> --- drivers/mtd/maps/omap_nor.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/maps/omap_nor.c b/drivers/mtd/maps/omap_nor.c index 73bc277..b9758a2 100644 --- a/drivers/mtd/maps/omap_nor.c +++ b/drivers/mtd/maps/omap_nor.c @@ -65,15 +65,15 @@ static void omap_set_vpp(struct map_info *map, int enable) if (cpu_class_is_omap1()) { if (enable) { if (count++ == 0) { - l = omap_readl(EMIFS_CONFIG); + l = __raw_readl(EMIFS_CONFIG); l |= OMAP_EMIFS_CONFIG_WP; - omap_writel(l, EMIFS_CONFIG); + __raw_writel(l, EMIFS_CONFIG); } } else { if (count && (--count == 0)) { - l = omap_readl(EMIFS_CONFIG); + l = __raw_readl(EMIFS_CONFIG); l &= ~OMAP_EMIFS_CONFIG_WP; - omap_writel(l, EMIFS_CONFIG); + __raw_writel(l, EMIFS_CONFIG); } } } -- 1.6.0.2.307.gc427 -- 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