[PATCH 10/16] ARM: LPC32XX: Converted most register types to void __iomem *
Russell King - ARM Linux
linux at arm.linux.org.uk
Wed Feb 3 05:10:47 EST 2010
On Tue, Feb 02, 2010 at 03:59:22PM -0800, wellsk40 at gmail.com wrote:
> From: Kevin Wells <wellsk40 at gmail.com>
>
> Most defined registers addresses used for readl/writel were untyped.
> These have been changed to (void __iomem *).
Just arrange for io_p2v() to return a void __iomem pointer instead of
adding all these casts. Virtual addresses should where-ever possible
be pointer like rather than integer like.
More information about the linux-arm-kernel
mailing list