summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-05 16:49:14 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-05 18:02:33 +0200
commit7c7095aa423b9b14038abc08fba84b9d7a33d643 (patch)
treed71363e05eca317a5d712eda3252066c27469892 /drivers/video/omap
parent[ARM] omap: DSP registers don't need to be casted (diff)
downloadlinux-7c7095aa423b9b14038abc08fba84b9d7a33d643.tar.xz
linux-7c7095aa423b9b14038abc08fba84b9d7a33d643.zip
[ARM] omap: fix inappropriate casting in gpio.c
gpio.c wilfully casts physical addresses to void __iomem * and then fixes them up at runtime using: bank->base = IO_ADDRESS(bank->base); where accesses prior to this fixup are via omap_read/omap_write, and after are by __raw_read/__raw_write. This doesn't lend itself to static checking, nor to easy understanding of the code. And so, OMAP_MPUIO_BASE gets to be the right type - integer like since it's a physical address, not a MMIO pointer. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video/omap')
0 files changed, 0 insertions, 0 deletions