[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427375249-1555-1-git-send-email-ben.dooks@codethink.co.uk>
Date: Thu, 26 Mar 2015 13:07:29 +0000
From: Ben Dooks <ben.dooks@...ethink.co.uk>
To: linux-kernel@...ts.codethink.co.uk
Cc: Ben Dooks <ben.dooks@...ethink.co.uk>,
Andrew Victor <linux@...im.org.za>,
Nicolas Ferre <nicolas.ferre@...el.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Mike Turquette <mturquette@...aro.org>,
Stephen Boyd <sboyd@...eaurora.org>,
linux-kernel@...r.kernel.org (open list:COMMON CLK FRAMEWORK)
Subject: [PATCH] clk: at91: change to using endian agnositc IO
Change to using endian agnostic _relaxed IO accessors instead of __raw
Signed-off-by: Ben Dooks <ben.dooks@...ethink.co.uk>
--
CC: Andrew Victor <linux@...im.org.za>
CC: Nicolas Ferre <nicolas.ferre@...el.com>
CC: Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>
CC: Mike Turquette <mturquette@...aro.org> (maintainer:COMMON CLK FRAMEWORK)
CC: Stephen Boyd <sboyd@...eaurora.org> (maintainer:COMMON CLK FRAMEWORK)
CC: linux-kernel@...r.kernel.org (open list:COMMON CLK FRAMEWORK)
---
include/linux/clk/at91_pmc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/clk/at91_pmc.h b/include/linux/clk/at91_pmc.h
index c8e3b3d..7669f76 100644
--- a/include/linux/clk/at91_pmc.h
+++ b/include/linux/clk/at91_pmc.h
@@ -20,10 +20,10 @@
extern void __iomem *at91_pmc_base;
#define at91_pmc_read(field) \
- __raw_readl(at91_pmc_base + field)
+ readl_relaxed(at91_pmc_base + field)
#define at91_pmc_write(field, value) \
- __raw_writel(value, at91_pmc_base + field)
+ writel_relaxed(value, at91_pmc_base + field)
#else
.extern at91_pmc_base
#endif
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists