projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a39973a
)
ARM: imx: mmdc: Include "common.h" header file
author
Fabio Estevam
<fabio.estevam@freescale.com>
Thu, 2 Apr 2015 22:23:32 +0000
(19:23 -0300)
committer
Shawn 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-imx/mmdc.c
b/arch/arm/mach-imx/mmdc.c
index 0411f0664c15c0bce0469b9cd073205834ba366a..db9621c718ecae1ff2567f596f4d71ecd6428c4a 100644
(file)
--- 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