]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: pxa: define clock registers as __iomem
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Jan 2016 14:06:25 +0000 (15:06 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 1 Feb 2016 20:43:41 +0000 (21:43 +0100)
commitdecb5d921d90cb4b7a2f9265a3c484538c4420dd
tree5c2d86bbeb3b13e47c6c4fb60cf57210954e6c76
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
ARM: pxa: define clock registers as __iomem

We should not dereference registers as pointers, so use readl/writel
instead for these registers.

The clock registers are accessed in multiple files, so we have to
change them all at once.

I stumbled over these registers while looking at something unrelated.
There are in fact other registers with the same problem, but I did
not try to address those at this point.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/gumstix.c
arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
arch/arm/mach-pxa/zeus.c
drivers/clk/pxa/clk-pxa25x.c
drivers/clk/pxa/clk-pxa27x.c
drivers/clk/pxa/clk-pxa3xx.c
drivers/cpufreq/pxa2xx-cpufreq.c