All of lore.kernel.org
 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

* [PATCH 2/2] ARM: imx: mmdc: Include "common.h" header file
  2015-04-02 22:23 [PATCH] ARM: imx: clk-cpu: Include "clk.h" header file Fabio Estevam
@ 2015-04-02 22:23 ` Fabio Estevam
  2015-04-27 14:49   ` Shawn Guo
  2015-04-27  8:48 ` [PATCH] ARM: imx: clk-cpu: Include "clk.h" " Shawn Guo
  1 sibling, 1 reply; 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 "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 <fabio.estevam@freescale.com>
---
 arch/arm/mach-imx/mmdc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-imx/mmdc.c b/arch/arm/mach-imx/mmdc.c
index 0411f06..db9621c 100644
--- a/arch/arm/mach-imx/mmdc.c
+++ b/arch/arm/mach-imx/mmdc.c
@@ -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
-- 
1.9.1

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

* [PATCH] ARM: imx: clk-cpu: Include "clk.h" header file
  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  8:48 ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2015-04-27  8:48 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 02, 2015 at 07:23:31PM -0300, Fabio Estevam wrote:
> 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 ++

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

Shawn

>  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	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: imx: mmdc: Include "common.h" header file
  2015-04-02 22:23 ` [PATCH 2/2] ARM: imx: mmdc: Include "common.h" " Fabio Estevam
@ 2015-04-27 14:49   ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2015-04-27 14:49 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 02, 2015 at 07:23:32PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> 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 <fabio.estevam@freescale.com>

Applied, thanks.

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.