linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: imx: clk-cpu: Include "clk.h" header file
@ 2015-04-02 22:23 Fabio Estevam
  2015-04-02 22:23 ` [PATCH 2/2] ARM: imx: mmdc: Include "common.h" " Fabio Estevam
  2015-04-27  8:48 ` [PATCH] ARM: imx: clk-cpu: Include "clk.h" " Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2015-04-02 22:23 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@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@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

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

end of thread, other threads:[~2015-04-27 14:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 22:23 [PATCH] ARM: imx: clk-cpu: Include "clk.h" header file Fabio Estevam
2015-04-02 22:23 ` [PATCH 2/2] ARM: imx: mmdc: Include "common.h" " Fabio Estevam
2015-04-27 14:49   ` Shawn Guo
2015-04-27  8:48 ` [PATCH] ARM: imx: clk-cpu: Include "clk.h" " Shawn Guo

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).