driver/ddr/fsl: Remove duplicate inclusion of header file
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.
Signed-off-by Chunhe Lan <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
PATCH 1/1 driver/ddr/fsl: Remove duplicate inclusion of header file
Quoted 5 lines · Chunhe Lan
The
fsl_immap.hheader file had been included incommon.hheader file. So remove duplicated header.Signed-off-by Chunhe Lan <[email protected]>---
Did you test this patch? Please rebase and compile for powerpc and arm platforms.
York