[rft/rfc/patch-2.6.28-rc3+ 32/59] omap: namespace cleanup to drivers/mtd/maps/omap_nor.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux