diff mbox

clk: mxs: clk-imx23: Include <linux/clk/mxs.h>

Message ID 1373981623-23800-1-git-send-email-fabio.estevam@freescale.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabio Estevam July 16, 2013, 1:33 p.m. UTC
Fix the following sparse warning:

drivers/clk/mxs/clk-imx23.c:102:12: warning: symbol 'mx23_clocks_init' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/clk/mxs/clk-imx23.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Shawn Guo July 17, 2013, 3:51 a.m. UTC | #1
On Tue, Jul 16, 2013 at 10:33:43AM -0300, Fabio Estevam wrote:
> Fix the following sparse warning:
> 
> drivers/clk/mxs/clk-imx23.c:102:12: warning: symbol 'mx23_clocks_init' 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-imx23.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c
> index f6a7487..c396fe3 100644
> --- a/drivers/clk/mxs/clk-imx23.c
> +++ b/drivers/clk/mxs/clk-imx23.c
> @@ -10,6 +10,7 @@
>   */
>  
>  #include <linux/clk.h>
> +#include <linux/clk/mxs.h>
>  #include <linux/clkdev.h>
>  #include <linux/err.h>
>  #include <linux/init.h>
> -- 
> 1.8.1.2
> 
>
Mike Turquette Aug. 5, 2013, 10:03 p.m. UTC | #2
Quoting Shawn Guo (2013-07-16 20:51:27)
> On Tue, Jul 16, 2013 at 10:33:43AM -0300, Fabio Estevam wrote:
> > Fix the following sparse warning:
> > 
> > drivers/clk/mxs/clk-imx23.c:102:12: warning: symbol 'mx23_clocks_init' 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-imx23.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c
> > index f6a7487..c396fe3 100644
> > --- a/drivers/clk/mxs/clk-imx23.c
> > +++ b/drivers/clk/mxs/clk-imx23.c
> > @@ -10,6 +10,7 @@
> >   */
> >  
> >  #include <linux/clk.h>
> > +#include <linux/clk/mxs.h>
> >  #include <linux/clkdev.h>
> >  #include <linux/err.h>
> >  #include <linux/init.h>
> > -- 
> > 1.8.1.2
> > 
> >
diff mbox

Patch

diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c
index f6a7487..c396fe3 100644
--- a/drivers/clk/mxs/clk-imx23.c
+++ b/drivers/clk/mxs/clk-imx23.c
@@ -10,6 +10,7 @@ 
  */
 
 #include <linux/clk.h>
+#include <linux/clk/mxs.h>
 #include <linux/clkdev.h>
 #include <linux/err.h>
 #include <linux/init.h>