summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/clk.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-07-15 21:58:22 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-07-28 20:58:41 +0200
commit14cc4e9578841a4c0025ce064133b2da53c9d1c9 (patch)
treedeeb89e0715ea8a2a4a88a5c39705819680f55e2 /drivers/clk/ti/clk.c
parentclk: ti: clk-3xxx: Remove unused structures (diff)
downloadlinux-14cc4e9578841a4c0025ce064133b2da53c9d1c9.tar.xz
linux-14cc4e9578841a4c0025ce064133b2da53c9d1c9.zip
clk: ti: Force pointer to be __iomem
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>
Diffstat (limited to '')
-rw-r--r--drivers/clk/ti/clk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c
index 0d8861cf21a8..78a47ccff19a 100644
--- 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;
}
/**