Skip to contentSkip to conversation

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

PATCH Superseded Fabio Estevam 2 participants 4 messages Apr 2, 2015 – Apr 27, 2015

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: 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:

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

---
 arch/arm/mach-imx/clk-cpu.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-imx/clk-cpu.c +2 -0
index aa1c345..a482e66 100644
@@ -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;
Signature · 1 line
1.9.1
author reviewer
#1 lore raw

PATCH 2/2 ARM: imx: mmdc: Include "common.h" header file

From: Fabio Estevam <[email protected]>

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

arch/arm/mach-imx/mmdc.c:66:5: warning: symbol 'imx_mmdc_get_ddr_type' was not declared. Should it be static?

---
 arch/arm/mach-imx/mmdc.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-imx/mmdc.c +2 -0
index 0411f06..db9621c 100644
@@ -17,6 +17,8 @@
 #include <linux/of_address.h>
 #include <linux/of_device.h>
 
+#include "common.h"
+
 #define MMDC_MAPSR		0x404
 #define BP_MMDC_MAPSR_PSD	0
 #define BP_MMDC_MAPSR_PSS	4
Signature · 1 line
1.9.1
Applied
#2 lore raw

PATCH 2/2 ARM: imx: mmdc: Include "common.h" header file

Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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

arch/arm/mach-imx/mmdc.c:66:5: warning: symbol 'imx_mmdc_get_ddr_type' was not declared. Should it be static?

Applied, thanks.

#3 lore raw

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

In reply to Fabio Estevam
Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

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?

---
 arch/arm/mach-imx/clk-cpu.c | 2 ++

The file is being moved into drivers/clk/imx/.

Shawn

Quoted 18 lines
 1 file changed, 2 insertions(+)
arch/arm/mach-imx/clk-cpu.c +2 -0
index aa1c345..a482e66 100644
@@ -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;
Signature · 1 line
1.9.1