From 7be5c4cb40d38aa37406e93fed5a64d187a89b47 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 1 May 2024 19:30:40 -0600 Subject: ddr: Remove and add needed includes Remove from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini --- drivers/ddr/altera/sdram_agilex.c | 1 - drivers/ddr/altera/sdram_arria10.c | 1 - drivers/ddr/altera/sdram_gen5.c | 1 - drivers/ddr/altera/sdram_n5x.c | 1 - drivers/ddr/altera/sdram_s10.c | 1 - drivers/ddr/altera/sdram_soc64.c | 1 - drivers/ddr/altera/sequencer.c | 2 +- drivers/ddr/altera/sequencer.h | 2 ++ 8 files changed, 3 insertions(+), 7 deletions(-) (limited to 'drivers/ddr/altera') diff --git a/drivers/ddr/altera/sdram_agilex.c b/drivers/ddr/altera/sdram_agilex.c index 65ecdd022c4..7f2cccb6af2 100644 --- a/drivers/ddr/altera/sdram_agilex.c +++ b/drivers/ddr/altera/sdram_agilex.c @@ -4,7 +4,6 @@ * */ -#include #include #include #include diff --git a/drivers/ddr/altera/sdram_arria10.c b/drivers/ddr/altera/sdram_arria10.c index 8ef5fa4c481..bd2af94bb0d 100644 --- a/drivers/ddr/altera/sdram_arria10.c +++ b/drivers/ddr/altera/sdram_arria10.c @@ -3,7 +3,6 @@ * Copyright (C) 2017 Intel Corporation */ -#include #include #include #include diff --git a/drivers/ddr/altera/sdram_gen5.c b/drivers/ddr/altera/sdram_gen5.c index 34d2a2789cc..46c53e7c7a3 100644 --- a/drivers/ddr/altera/sdram_gen5.c +++ b/drivers/ddr/altera/sdram_gen5.c @@ -2,7 +2,6 @@ /* * Copyright Altera Corporation (C) 2014-2015 */ -#include #include #include #include diff --git a/drivers/ddr/altera/sdram_n5x.c b/drivers/ddr/altera/sdram_n5x.c index d9039443b91..db09986f64b 100644 --- a/drivers/ddr/altera/sdram_n5x.c +++ b/drivers/ddr/altera/sdram_n5x.c @@ -4,7 +4,6 @@ * */ -#include #include #include #include diff --git a/drivers/ddr/altera/sdram_s10.c b/drivers/ddr/altera/sdram_s10.c index 4d36fb45332..4ac4c79e0ac 100644 --- a/drivers/ddr/altera/sdram_s10.c +++ b/drivers/ddr/altera/sdram_s10.c @@ -4,7 +4,6 @@ * */ -#include #include #include #include diff --git a/drivers/ddr/altera/sdram_soc64.c b/drivers/ddr/altera/sdram_soc64.c index 4716abfc9a8..9e57c2ecfa4 100644 --- a/drivers/ddr/altera/sdram_soc64.c +++ b/drivers/ddr/altera/sdram_soc64.c @@ -4,7 +4,6 @@ * */ -#include #include #include #include diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c index e402f2929ab..7636e71a0a6 100644 --- a/drivers/ddr/altera/sequencer.c +++ b/drivers/ddr/altera/sequencer.c @@ -3,8 +3,8 @@ * Copyright Altera Corporation (C) 2012-2015 */ -#include #include +#include #include #include #include diff --git a/drivers/ddr/altera/sequencer.h b/drivers/ddr/altera/sequencer.h index c72a683ffef..618ba00da64 100644 --- a/drivers/ddr/altera/sequencer.h +++ b/drivers/ddr/altera/sequencer.h @@ -6,6 +6,8 @@ #ifndef _SEQUENCER_H_ #define _SEQUENCER_H_ +#include + #define RW_MGR_NUM_DM_PER_WRITE_GROUP (seq->rwcfg->mem_data_mask_width \ / seq->rwcfg->mem_if_write_dqs_width) #define RW_MGR_NUM_TRUE_DM_PER_WRITE_GROUP ( \ -- cgit v1.2.3