clk: mxs: Fix sparse warnings
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 11 Feb 2013 14:07:16 +0000 (12:07 -0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 19 Mar 2013 19:58:41 +0000 (12:58 -0700)
Fix the following sparse warnings:

drivers/clk/mxs/clk.c:17:1: warning: symbol 'mxs_lock' was not declared. Should it be static?
drivers/clk/mxs/clk.c:19:5: warning: symbol 'mxs_clk_wait' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/mxs/clk.c

index b24d560..5301bce 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/io.h>
 #include <linux/jiffies.h>
 #include <linux/spinlock.h>
+#include "clk.h"
 
 DEFINE_SPINLOCK(mxs_lock);