ARM: 6949/2: mach-u300: fix compilaton warning in IO accessors
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Jun 2011 08:40:51 +0000 (09:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Jun 2011 09:15:06 +0000 (10:15 +0100)
commit6075e9df471e35f2ebf4c73c95c304d0473bd4b2
tree5e42fba380df72f7295263454ff220ae3ddbb7a6
parenta0a54d37b4b1d1f55d1e81e8ffc223bb85472fa3
ARM: 6949/2: mach-u300: fix compilaton warning in IO accessors

The IO accessors for U300 were using u32 rather than the nominal
void __iomem * type, rectify this by properly defining the
virtual base for statically mapped peripherals to be
void __iomem *. Requires fixing a field in struct clk as well.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-u300/clock.h
arch/arm/mach-u300/include/mach/u300-regs.h