ARM: imx: mmdc: Include "common.h" header file
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 2 Apr 2015 22:23:32 +0000 (19:23 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:49:34 +0000 (14:49 +0800)
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>
arch/arm/mach-imx/mmdc.c

index 0411f0664c15c0bce0469b9cd073205834ba366a..db9621c718ecae1ff2567f596f4d71ecd6428c4a 100644 (file)
@@ -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
This page took 0.032197 seconds and 5 git commands to generate.