[PATCH] clk: zynq: Add missing zynq clk header

Michal Simek michal.simek at xilinx.com
Wed Mar 27 10:45:06 EDT 2013


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 at 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




More information about the linux-arm-kernel mailing list