projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
583ddaf
)
[ARM] 5593/1: ep93xx: clock.c __iomem pointer
author
Hartley Sweeten
<hartleys@visionengravers.com>
Mon, 6 Jul 2009 16:40:53 +0000
(17:40 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 9 Jul 2009 15:13:45 +0000
(16:13 +0100)
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>
arch/arm/mach-ep93xx/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-ep93xx/clock.c
b/arch/arm/mach-ep93xx/clock.c
index 207e27699410eb61f1b50d393f4dcb919c163c76..b6b53447b1b47d6a9b9f4af6fdf62f7a72d91ffa 100644
(file)
--- 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);