clk: mxs: Fix sparse warnings
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/1 clk: mxs: Fix sparse warnings
From: Fabio Estevam <[email protected]>
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?
--- drivers/clk/mxs/clk.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/mxs/clk.c +1 -0
@@ -13,6 +13,7 @@#include <linux/io.h> #include <linux/jiffies.h> #include <linux/spinlock.h> +#include "clk.h" DEFINE_SPINLOCK (mxs_lock);
Signature · 1 line
1.7.9.5
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
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 <[email protected]>
Quoted 19 lines
--- drivers/clk/mxs/clk.c | 1 + 1 file changed, 1 insertion(+)drivers/clk/mxs/clk.c +1
-0@@ -13,6 +13,7 @@#include <linux/io.h> #include <linux/jiffies.h> #include <linux/spinlock.h> +#include "clk.h" DEFINE_SPINLOCK (mxs_lock);Signature · 1 line
1.7.9.5
Quoting Shawn Guo (2013-02-17 00:02:20)
Quoted 12 lines · Fabio Estevam
Quoted 8 lines
From: Fabio Estevam <[email protected]>
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 <[email protected]>Acked-by Shawn Guo <[email protected]>
Taken into clk-next.
Thanks,
Mike
Quoted 19 lines
Quoted 19 lines
--- drivers/clk/mxs/clk.c | 1 + 1 file changed, 1 insertion(+)drivers/clk/mxs/clk.c +1
-0@@ -13,6 +13,7 @@#include <linux/io.h> #include <linux/jiffies.h> #include <linux/spinlock.h> +#include "clk.h" DEFINE_SPINLOCK (mxs_lock);Signature · 1 line
1.7.9.5