summaryrefslogtreecommitdiff
path: root/arch/frv
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-01 21:07:37 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-05 16:02:31 (GMT)
commite8a91c953fca683ef9a9335fb00d6eb3e49ac1ee (patch)
tree7a9c2ef4b9c25f137e2fb97d36e0248ee24c6ec4 /arch/frv
parentd592dd1adc4f57171fa2570a94279d887b78d5b5 (diff)
downloadlinux-fsl-qoriq-e8a91c953fca683ef9a9335fb00d6eb3e49ac1ee.tar.xz
[ARM] omap: Fix IO_ADDRESS() macros
OMAP1_IO_ADDRESS(), OMAP2_IO_ADDRESS() and IO_ADDRESS() returns cookies for use with __raw_{read|write}* for accessing registers. Therefore, these macros should return (void __iomem *) cookies, not integer values. Doing this improves typechecking, and means we can find those places where, eg, DMA controllers are incorrectly given virtual addresses to DMA to, or physical addresses are thrown through a virtual to physical address translation. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/frv')
0 files changed, 0 insertions, 0 deletions