diff mbox

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

Message ID 1428013412-7082-2-git-send-email-festevam@gmail.com
State New
Headers show

Commit Message

Fabio Estevam April 2, 2015, 10:23 p.m. UTC
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(+)

Comments

Shawn Guo April 27, 2015, 2:49 p.m. UTC | #1
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.
diff mbox

Patch

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