[PATCH] imx:mmdc:Move imx6-reg include to imx6-mmdc header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Move the imx6-reg.h include to the imx6-mmdc header.

Signed-off-by: Christian Hemp <c.hemp@xxxxxxxxx>
---
 arch/arm/mach-imx/imx6-mmdc.c              |    1 -
 arch/arm/mach-imx/include/mach/imx6-mmdc.h |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-imx/imx6-mmdc.c b/arch/arm/mach-imx/imx6-mmdc.c
index 9686bee..0e706ce 100644
--- a/arch/arm/mach-imx/imx6-mmdc.c
+++ b/arch/arm/mach-imx/imx6-mmdc.c
@@ -17,7 +17,6 @@
  */
 #include <common.h>
 #include <io.h>
-#include <mach/imx6-regs.h>
 #include <mach/imx6-mmdc.h>
 
 int mmdc_do_write_level_calibration(void)
diff --git a/arch/arm/mach-imx/include/mach/imx6-mmdc.h b/arch/arm/mach-imx/include/mach/imx6-mmdc.h
index 0017174..d07950d 100644
--- a/arch/arm/mach-imx/include/mach/imx6-mmdc.h
+++ b/arch/arm/mach-imx/include/mach/imx6-mmdc.h
@@ -1,6 +1,7 @@
 #ifndef __MACH_MMDC_H
 #define __MACH_MMDC_H
 
+#include <mach/imx6-regs.h>
 
 #define P0_IPS (void __iomem *)MX6_MMDC_P0_BASE_ADDR
 #define P1_IPS (void __iomem *)MX6_MMDC_P1_BASE_ADDR
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux