Message ID | 1373981623-23800-1-git-send-email-fabio.estevam@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 > >
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 --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>
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(+)