Skip to content

Commit

Permalink
[ARM] 5593/1: ep93xx: clock.c __iomem pointer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hartley Sweeten authored and Russell King committed Jul 9, 2009
1 parent 583ddaf commit c3e3bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-ep93xx/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c3e3bad

Please sign in to comment.