Skip to content
Commit 97b09da4 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Eric Miao
Browse files

ARM: pxa: use correct __iomem annotations



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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 7272889d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment