summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-04-03 00:23:32 +0200
committerShawn Guo <shawn.guo@linaro.org>2015-06-03 08:49:34 +0200
commit666c884418f7b314b3ddf3214ec0ad0aadf81c84 (patch)
tree3d73ab28ffeecb260a5da66d217b605b9e7b7d5f /arch/arm
parentclk: imx: clk-cpu: Include "clk.h" header file (diff)
downloadlinux-666c884418f7b314b3ddf3214ec0ad0aadf81c84.tar.xz
linux-666c884418f7b314b3ddf3214ec0ad0aadf81c84.zip
ARM: imx: mmdc: Include "common.h" header file
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> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-imx/mmdc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mmdc.c b/arch/arm/mach-imx/mmdc.c
index 0411f0664c15..db9621c718ec 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