ARM: imx: clk-cpu: Include "clk.h" header file
Subsystems (3)
Fabio Estevam
reviewerPATCH 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
@@ -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
Fabio Estevam
reviewerPATCH 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
@@ -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
Shawn Guo
AppliedPATCH 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?Signed-off-by Fabio Estevam <[email protected]>
Applied, thanks.
PATCH 1/1 ARM: imx: clk-cpu: Include "clk.h" header file
In reply to Fabio EstevamQuoted 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?Signed-off-by Fabio Estevam <[email protected]>--- 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@@ -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