Re: [PATCH 1/9] ARM: pxa: define clock registers as __iomem

From: Stephen Boyd
Date: Fri Jan 29 2016 - 13:31:56 EST


On 01/29, Arnd Bergmann wrote:
> 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@xxxxxxxx>
> ---

Acked-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project