summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-05-01 12:33:49 -0700
committerStephen Boyd <sboyd@codeaurora.org>2015-05-14 17:11:23 -0700
commit43f535702bb2c7b96091c0267fc105d44c18348c (patch)
tree35b9e00e67937e57572f6f191cc135bd77133dd9
parentf6704f9e1995c862d5281fc9efc0b4e95ee9f9b9 (diff)
downloadlinux-43f535702bb2c7b96091c0267fc105d44c18348c.tar.gz
linux-43f535702bb2c7b96091c0267fc105d44c18348c.tar.bz2
linux-43f535702bb2c7b96091c0267fc105d44c18348c.zip
clk: emev2: Silence sparse warnings
drivers/clk/shmobile/clk-emev2.c:37:14: warning: symbol 'smu_base' was not declared. Should it be static? Cc: Takashi Yoshii <takasi-y@ops.dti.ne.jp> Cc: Magnus Damm <damm@opensource.se> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r--drivers/clk/shmobile/clk-emev2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/shmobile/clk-emev2.c b/drivers/clk/shmobile/clk-emev2.c
index 6c7c929c7765..5b60beb7d0eb 100644
--- a/drivers/clk/shmobile/clk-emev2.c
+++ b/drivers/clk/shmobile/clk-emev2.c
@@ -34,7 +34,7 @@
static DEFINE_SPINLOCK(lock);
/* not pretty, but hey */
-void __iomem *smu_base;
+static void __iomem *smu_base;
static void __init emev2_smu_write(unsigned long value, int offs)
{