summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-a20-gmac.c
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2014-07-28 00:49:42 -0300
committerMike Turquette <mturquette@linaro.org>2014-07-28 15:39:05 -0700
commit89a9456d6ecdf328a66a561a43e9bdc3c2a2208d (patch)
treeffa60a2a172df5153ee4eaa3600df525ad85c29c /drivers/clk/sunxi/clk-a20-gmac.c
parent3cc5aba4158e757ddd33751db6ca1729741e8dba (diff)
downloadblackbird-obmc-linux-89a9456d6ecdf328a66a561a43e9bdc3c2a2208d.tar.gz
blackbird-obmc-linux-89a9456d6ecdf328a66a561a43e9bdc3c2a2208d.zip
clk: sunxi: add __iomem markings to MMIO pointers
This commit adds __iomem thoughout the sunxi clock driver, in places where it was ommited. This cleans most of the sparse warnings we are getting here. Signed-off-by: Emilio López <emilio@elopez.com.ar> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/sunxi/clk-a20-gmac.c')
-rw-r--r--drivers/clk/sunxi/clk-a20-gmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sunxi/clk-a20-gmac.c b/drivers/clk/sunxi/clk-a20-gmac.c
index 633ddc4389ef..5296fd6dd7b3 100644
--- a/drivers/clk/sunxi/clk-a20-gmac.c
+++ b/drivers/clk/sunxi/clk-a20-gmac.c
@@ -60,7 +60,7 @@ static void __init sun7i_a20_gmac_clk_setup(struct device_node *node)
struct clk_gate *gate;
const char *clk_name = node->name;
const char *parents[SUN7I_A20_GMAC_PARENTS];
- void *reg;
+ void __iomem *reg;
if (of_property_read_string(node, "clock-output-names", &clk_name))
return;
OpenPOWER on IntegriCloud