Skip to contentSkip to conversation

clk: imx: clk-cpu: Include "clk.h" header file

PATCH New Fabio Estevam 2 participants 2 messages Apr 29, 2015 – May 7, 2015

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v2 1/1 clk: imx: clk-cpu: Include "clk.h" header file

From: Fabio Estevam <[email protected]>

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

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

---
Changes since v1:
- Rebased since the clk-cpu moved to drivers/clk/imx

 drivers/clk/imx/clk-cpu.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/imx/clk-cpu.c +1 -0
index aa1c345..9d46eac 100644
@@ -12,6 +12,7 @@
 #include <linux/clk.h>
 #include <linux/clk-provider.h>
 #include <linux/slab.h>
+#include "clk.h"
 
 struct clk_cpu {
 	struct clk_hw	hw;
Signature · 1 line
1.9.1
Applied
#1 lore raw

PATCH v2 1/1 clk: imx: clk-cpu: Include "clk.h" header file

Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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

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

Applied, thanks.