aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx
diff options
context:
space:
mode:
authorHartley Sweeten <hartleys@visionengravers.com>2009-07-06 12:40:53 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-09 11:13:45 -0400
commitc3e3baddbc0b6636b01cb2aa3e44505ad61be17b (patch)
treeef125240a149abbf1a23e4dd6ada3d0f462faa6b /arch/arm/mach-ep93xx
parent583ddafe1787528d08b0026bb3273490a499b730 (diff)
[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.c2
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 {
26 unsigned long rate; 26 unsigned long rate;
27 int users; 27 int users;
28 int sw_locked; 28 int sw_locked;
29 u32 enable_reg; 29 void __iomem *enable_reg;
30 u32 enable_mask; 30 u32 enable_mask;
31 31
32 unsigned long (*get_rate)(struct clk *clk); 32 unsigned long (*get_rate)(struct clk *clk);