projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76642eb
)
clk: ti: Force pointer to be __iomem
author
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 15 Jul 2015 19:58:22 +0000
(12:58 -0700)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Tue, 28 Jul 2015 18:58:41 +0000
(11:58 -0700)
Add __force here so that sparse doesn't complain about us playing
tricks with __iomem.
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/ti/clk.c
patch
|
blob
|
history
diff --git
a/drivers/clk/ti/clk.c
b/drivers/clk/ti/clk.c
index 0d8861cf21a8269a6db88d2882c94052f6891ecb..78a47ccff19a0c0f0a1f85a83656baf3f41d5285 100644
(file)
--- a/
drivers/clk/ti/clk.c
+++ b/
drivers/clk/ti/clk.c
@@
-193,7
+193,7
@@
void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index)
reg->offset = val;
- return (void __iomem *)tmp;
+ return (
__force
void __iomem *)tmp;
}
/**