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)
commit97b09da4ee36ec4bd0f6e16b84b4bb6fa05db110
tree34c80d050a0cc8538d0fc22213772560dc3db2f3
parent7272889d3f40ed6aa2ade32bed5834789b3299cc
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
28 files changed:
arch/arm/include/asm/hardware/it8152.h
arch/arm/mach-mmp/clock.h
arch/arm/mach-mmp/common.c
arch/arm/mach-mmp/include/mach/addr-map.h
arch/arm/mach-mmp/mmp2.c
arch/arm/mach-pxa/balloon3.c
arch/arm/mach-pxa/cm-x2xx-pci.c
arch/arm/mach-pxa/cm-x2xx.c
arch/arm/mach-pxa/include/mach/addr-map.h
arch/arm/mach-pxa/include/mach/balloon3.h
arch/arm/mach-pxa/include/mach/hardware.h
arch/arm/mach-pxa/include/mach/lpd270.h
arch/arm/mach-pxa/include/mach/mtd-xip.h
arch/arm/mach-pxa/include/mach/palmtx.h
arch/arm/mach-pxa/include/mach/smemc.h
arch/arm/mach-pxa/include/mach/zeus.h
arch/arm/mach-pxa/irq.c
arch/arm/mach-pxa/lpd270.c
arch/arm/mach-pxa/palmtx.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/zeus.c
arch/arm/plat-pxa/gpio.c
arch/arm/plat-pxa/include/plat/mfp.h
arch/arm/plat-pxa/mfp.c
drivers/pcmcia/pxa2xx_balloon3.c
drivers/video/mbx/mbxfb.c