Skip to contentSkip to conversation

driver/ddr/fsl: Remove duplicate inclusion of header file

PATCH New Chunhe Lan 2 participants 2 messages Dec 19, 2014

lore
Share & tools
lore

Chunhe Lan

author
#0 lore raw

PATCH 1/1 driver/ddr/fsl: Remove duplicate inclusion of header file

The fsl_immap.h header file had been included in common.h header file. So remove duplicated header.

---
 drivers/ddr/fsl/ctrl_regs.c    |    1 -
 drivers/ddr/fsl/fsl_ddr_gen4.c |    1 -
 drivers/ddr/fsl/util.c         |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)
drivers/ddr/fsl/ctrl_regs.c +0 -1
index 03d7ff1..325bf06 100644
@@ -14,7 +14,6 @@
 #include <fsl_ddr_sdram.h>
 
 #include <fsl_ddr.h>
-#include <fsl_immap.h>
 #include <asm/io.h>
 
 unsigned int picos_to_mclk(unsigned int picos);
drivers/ddr/fsl/fsl_ddr_gen4.c +0 -1
index a3c01e7..8b78652 100644
@@ -8,7 +8,6 @@
 #include <asm/io.h>
 #include <fsl_ddr_sdram.h>
 #include <asm/processor.h>
-#include <fsl_immap.h>
 #include <fsl_ddr.h>
 
 #if (CONFIG_CHIP_SELECTS_PER_CTRL > 4)
drivers/ddr/fsl/util.c +0 -1
index 58b519b..a66f1ea 100644
@@ -13,7 +13,6 @@
 #include <div64.h>
 
 #include <fsl_ddr.h>
-#include <fsl_immap.h>
 #include <asm/io.h>
 
 /* To avoid 64-bit full-divides, we factor this here */
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 1/1 driver/ddr/fsl: Remove duplicate inclusion of header file

Quoted 5 lines · Chunhe Lan

The fsl_immap.h header file had been included in common.h header file. So remove duplicated header.

---

Did you test this patch? Please rebase and compile for powerpc and arm platforms.

York