[PATCH] ARM: imx: clk-cpu: Include "clk.h" header file

Fabio Estevam festevam at gmail.com
Thu Apr 2 15:23:31 PDT 2015


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

Include the "clk.h" header file to fix the following sparse warning:

arch/arm/mach-imx/clk-cpu.c:77:12: warning: symbol 'imx_clk_cpu' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 arch/arm/mach-imx/clk-cpu.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-imx/clk-cpu.c b/arch/arm/mach-imx/clk-cpu.c
index aa1c345..a482e66 100644
--- a/arch/arm/mach-imx/clk-cpu.c
+++ b/arch/arm/mach-imx/clk-cpu.c
@@ -13,6 +13,8 @@
 #include <linux/clk-provider.h>
 #include <linux/slab.h>
 
+#include "clk.h"
+
 struct clk_cpu {
 	struct clk_hw	hw;
 	struct clk	*div;
-- 
1.9.1




More information about the linux-arm-kernel mailing list