linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: mxs: Fix sparse warnings
@ 2013-02-11 14:07 Fabio Estevam
  2013-02-17  8:02 ` Shawn Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2013-02-11 14:07 UTC (permalink / raw)
  To: mturquette; +Cc: shawn.guo, linux-kernel, Fabio Estevam

From: Fabio Estevam <fabio.estevam@freescale.com>

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>
---
 drivers/clk/mxs/clk.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/mxs/clk.c b/drivers/clk/mxs/clk.c
index b24d560..5301bce 100644
--- a/drivers/clk/mxs/clk.c
+++ b/drivers/clk/mxs/clk.c
@@ -13,6 +13,7 @@
 #include <linux/io.h>
 #include <linux/jiffies.h>
 #include <linux/spinlock.h>
+#include "clk.h"
 
 DEFINE_SPINLOCK(mxs_lock);
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: mxs: Fix sparse warnings
  2013-02-11 14:07 [PATCH] clk: mxs: Fix sparse warnings Fabio Estevam
@ 2013-02-17  8:02 ` Shawn Guo
  2013-03-19 20:10   ` Mike Turquette
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2013-02-17  8:02 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: mturquette, linux-kernel, Fabio Estevam

On Mon, Feb 11, 2013 at 12:07:16PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> 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>

> ---
>  drivers/clk/mxs/clk.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clk/mxs/clk.c b/drivers/clk/mxs/clk.c
> index b24d560..5301bce 100644
> --- a/drivers/clk/mxs/clk.c
> +++ b/drivers/clk/mxs/clk.c
> @@ -13,6 +13,7 @@
>  #include <linux/io.h>
>  #include <linux/jiffies.h>
>  #include <linux/spinlock.h>
> +#include "clk.h"
>  
>  DEFINE_SPINLOCK(mxs_lock);
>  
> -- 
> 1.7.9.5
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: mxs: Fix sparse warnings
  2013-02-17  8:02 ` Shawn Guo
@ 2013-03-19 20:10   ` Mike Turquette
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Turquette @ 2013-03-19 20:10 UTC (permalink / raw)
  To: Shawn Guo, Fabio Estevam; +Cc: linux-kernel, Fabio Estevam

Quoting Shawn Guo (2013-02-17 00:02:20)
> On Mon, Feb 11, 2013 at 12:07:16PM -0200, Fabio Estevam wrote:
> > From: Fabio Estevam <fabio.estevam@freescale.com>
> > 
> > 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>
> 

Taken into clk-next.

Thanks,
Mike

> > ---
> >  drivers/clk/mxs/clk.c |    1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/clk/mxs/clk.c b/drivers/clk/mxs/clk.c
> > index b24d560..5301bce 100644
> > --- a/drivers/clk/mxs/clk.c
> > +++ b/drivers/clk/mxs/clk.c
> > @@ -13,6 +13,7 @@
> >  #include <linux/io.h>
> >  #include <linux/jiffies.h>
> >  #include <linux/spinlock.h>
> > +#include "clk.h"
> >  
> >  DEFINE_SPINLOCK(mxs_lock);
> >  
> > -- 
> > 1.7.9.5
> >

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-19 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11 14:07 [PATCH] clk: mxs: Fix sparse warnings Fabio Estevam
2013-02-17  8:02 ` Shawn Guo
2013-03-19 20:10   ` Mike Turquette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).