Patchwork [8/17] ARM: mach-imx: clk-gate2: Include "clk.h"

login
register
mail settings
Submitter Fabio Estevam
Date March 25, 2013, 12:20 p.m.
Message ID <1364214044-13950-8-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/230713/
State New
Headers show

Comments

Fabio Estevam - March 25, 2013, 12:20 p.m.
Fix the following sparse warning:

arch/arm/mach-imx/clk-gate2.c:86:12: warning: symbol 'clk_register_gate2' was not declared. Should it be static?

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

Patch

diff --git a/arch/arm/mach-imx/clk-gate2.c b/arch/arm/mach-imx/clk-gate2.c
index cc49c7a..a63e415 100644
--- a/arch/arm/mach-imx/clk-gate2.c
+++ b/arch/arm/mach-imx/clk-gate2.c
@@ -15,6 +15,7 @@ 
 #include <linux/io.h>
 #include <linux/err.h>
 #include <linux/string.h>
+#include "clk.h"
 
 /**
  * DOC: basic gatable clock which can gate and ungate it's ouput