linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: zynq: Add missing zynq clk header
@ 2013-03-27 14:45 Michal Simek
  2013-03-27 15:44 ` Mike Turquette
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2013-03-27 14:45 UTC (permalink / raw)
  To: linux-arm-kernel

Include zynq clk header where init function is declared.

It removes this sparse warning:
drivers/clk/clk-zynq.c:373:13: warning: symbol
'xilinx_zynq_clocks_init' was not declared. Should it be static?

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
 drivers/clk/clk-zynq.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-zynq.c b/drivers/clk/clk-zynq.c
index b14a25f..3206297 100644
--- a/drivers/clk/clk-zynq.c
+++ b/drivers/clk/clk-zynq.c
@@ -20,6 +20,7 @@
 #include <linux/slab.h>
 #include <linux/kernel.h>
 #include <linux/clk-provider.h>
+#include <linux/clk/zynq.h>
 
 static void __iomem *slcr_base;
 
-- 
1.7.9.7

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

* [PATCH] clk: zynq: Add missing zynq clk header
  2013-03-27 14:45 [PATCH] clk: zynq: Add missing zynq clk header Michal Simek
@ 2013-03-27 15:44 ` Mike Turquette
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Turquette @ 2013-03-27 15:44 UTC (permalink / raw)
  To: linux-arm-kernel

Quoting Michal Simek (2013-03-27 07:45:06)
> Include zynq clk header where init function is declared.
> 
> It removes this sparse warning:
> drivers/clk/clk-zynq.c:373:13: warning: symbol
> 'xilinx_zynq_clocks_init' was not declared. Should it be static?
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Thanks for the fix.  Pulled into clk-next.

Regards,
Mike

> ---
>  drivers/clk/clk-zynq.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clk/clk-zynq.c b/drivers/clk/clk-zynq.c
> index b14a25f..3206297 100644
> --- a/drivers/clk/clk-zynq.c
> +++ b/drivers/clk/clk-zynq.c
> @@ -20,6 +20,7 @@
>  #include <linux/slab.h>
>  #include <linux/kernel.h>
>  #include <linux/clk-provider.h>
> +#include <linux/clk/zynq.h>
>  
>  static void __iomem *slcr_base;
>  
> -- 
> 1.7.9.7

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

end of thread, other threads:[~2013-03-27 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 14:45 [PATCH] clk: zynq: Add missing zynq clk header Michal Simek
2013-03-27 15:44 ` 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).