diff options
author | Hartley Sweeten <hartleys@visionengravers.com> | 2009-07-06 20:40:53 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-07-09 19:13:45 +0400 |
commit | c3e3baddbc0b6636b01cb2aa3e44505ad61be17b (patch) | |
tree | ef125240a149abbf1a23e4dd6ada3d0f462faa6b /arch/arm/mach-ep93xx | |
parent | 583ddafe1787528d08b0026bb3273490a499b730 (diff) | |
download | linux-c3e3baddbc0b6636b01cb2aa3e44505ad61be17b.tar.xz |
[ARM] 5593/1: ep93xx: clock.c __iomem pointer
To ensure typesafe io, the enable_reg variable should be a
void __iomem pointer not u32.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r-- | arch/arm/mach-ep93xx/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c index 207e27699410..b6b53447b1b4 100644 --- a/arch/arm/mach-ep93xx/clock.c +++ b/arch/arm/mach-ep93xx/clock.c @@ -26,7 +26,7 @@ struct clk { unsigned long rate; int users; int sw_locked; - u32 enable_reg; + void __iomem *enable_reg; u32 enable_mask; unsigned long (*get_rate)(struct clk *clk); |