summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx/clock.c
diff options
context:
space:
mode:
authorHartley Sweeten <hartleys@visionengravers.com>2009-07-06 18:40:53 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-09 17:13:45 +0200
commitc3e3baddbc0b6636b01cb2aa3e44505ad61be17b (patch)
treeef125240a149abbf1a23e4dd6ada3d0f462faa6b /arch/arm/mach-ep93xx/clock.c
parent[ARM] 5592/1: ep93xx: cleanup platform header includes (diff)
downloadlinux-c3e3baddbc0b6636b01cb2aa3e44505ad61be17b.tar.xz
linux-c3e3baddbc0b6636b01cb2aa3e44505ad61be17b.zip
[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/clock.c')
-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 {
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);