clk: emev2: Silence sparse warnings
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 1 May 2015 19:33:49 +0000 (12:33 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 15 May 2015 00:11:23 +0000 (17:11 -0700)
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>
drivers/clk/shmobile/clk-emev2.c

index 6c7c929c77655771999c59d0d9c85fc998429944..5b60beb7d0ebce09f7f0f34b97620dd7025ba762 100644 (file)
@@ -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)
 {