summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sirf
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-05-01 21:36:24 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-05-15 02:11:24 +0200
commitf53f551b11d112f6cdd6ab9ca320bfd890a9b021 (patch)
tree7d586847b1799a5c882bd2a6894c8711772872fc /drivers/clk/sirf
parentclk: emev2: Silence sparse warnings (diff)
downloadlinux-f53f551b11d112f6cdd6ab9ca320bfd890a9b021.tar.xz
linux-f53f551b11d112f6cdd6ab9ca320bfd890a9b021.zip
clk: sirf: Silence sparse warnings
These are __iomem pointers. Mark them appropriately so we don't get sparse errors like drivers/clk/sirf/clk-common.c:60:16: warning: incorrect type in argument 1 (different address spaces) drivers/clk/sirf/clk-common.c:60:16: expected void const volatile [noderef] <asn:2>*addr drivers/clk/sirf/clk-common.c:60:16: got void * Cc: Barry Song <Baohua.Song@csr.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/sirf')
-rw-r--r--drivers/clk/sirf/clk-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/sirf/clk-common.c b/drivers/clk/sirf/clk-common.c
index e9cf5730effe..9fc285d784d3 100644
--- a/drivers/clk/sirf/clk-common.c
+++ b/drivers/clk/sirf/clk-common.c
@@ -10,8 +10,8 @@
#define KHZ 1000
#define MHZ (KHZ * KHZ)
-static void *sirfsoc_clk_vbase;
-static void *sirfsoc_rsc_vbase;
+static void __iomem *sirfsoc_clk_vbase;
+static void __iomem *sirfsoc_rsc_vbase;
static struct clk_onecell_data clk_data;
/*