ARM: pxa: use correct __iomem annotations
authorArnd Bergmann <arnd@arndb.de>
Sat, 1 Oct 2011 20:03:45 +0000 (22:03 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Sat, 8 Oct 2011 13:03:07 +0000 (21:03 +0800)
This tries to clear up the confusion between integers and iomem pointers
in the marvell pxa platform. MMIO addresses are supposed to be __iomem*
values, in order to let the Linux type checking work correctly. This
patch moves the cast to __iomem as far back as possible, to the place
where the MMIO virtual address windows are defined.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>

No differences found