提交 c3e3badd 编写于 作者: H Hartley Sweeten 提交者: Russell King

[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: NH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 583ddafe
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册