From: Stephen Boyd Date: Wed, 15 Jul 2015 19:58:22 +0000 (-0700) Subject: clk: ti: Force pointer to be __iomem X-Git-Tag: v5.15~14912^2~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14cc4e9578841a4c0025ce064133b2da53c9d1c9;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c index 0d8861c..78a47cc 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; } /**