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>
This commit is contained in:
parent
76642eb4cb
commit
14cc4e9578
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue