summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2015-03-26 14:07:29 +0100
committerMichael Turquette <mturquette@linaro.org>2015-04-11 23:38:39 +0200
commitf6194213cbe871341cd5dfcfe31b4de78ef9503f (patch)
tree69f0e10e370db4ba169c0e3abcf8a822e896b7d3
parentMerge tag 'clk/for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tegr... (diff)
downloadlinux-f6194213cbe871341cd5dfcfe31b4de78ef9503f.tar.xz
linux-f6194213cbe871341cd5dfcfe31b4de78ef9503f.zip
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@codethink.co.uk> -- CC: Andrew Victor <linux@maxim.org.za> CC: Nicolas Ferre <nicolas.ferre@atmel.com> CC: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> CC: Mike Turquette <mturquette@linaro.org> (maintainer:COMMON CLK FRAMEWORK) CC: Stephen Boyd <sboyd@codeaurora.org> (maintainer:COMMON CLK FRAMEWORK) CC: linux-kernel@vger.kernel.org (open list:COMMON CLK FRAMEWORK) Signed-off-by: Michael Turquette <mturquette@linaro.org>
-rw-r--r--include/linux/clk/at91_pmc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/clk/at91_pmc.h b/include/linux/clk/at91_pmc.h
index c8e3b3d1eded..7669f7618f39 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