[PATCH 11/13] ddr: altera: include u-boot/schedule.h
Simon Glass
sjg at chromium.org
Wed Oct 9 03:52:28 CEST 2024
On Thu, 3 Oct 2024 at 15:30, Rasmus Villemoes <ravi at prevas.dk> wrote:
>
> These TUs currently rely on getting a declaration of schedule()
> through some nested include. Include the proper header directly.
>
> Signed-off-by: Rasmus Villemoes <ravi at prevas.dk>
> ---
> drivers/ddr/altera/sdram_n5x.c | 1 +
> drivers/ddr/altera/sdram_soc64.c | 1 +
> 2 files changed, 2 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
>
> diff --git a/drivers/ddr/altera/sdram_n5x.c b/drivers/ddr/altera/sdram_n5x.c
> index db09986f64b..d1fc93b6bdd 100644
> --- a/drivers/ddr/altera/sdram_n5x.c
> +++ b/drivers/ddr/altera/sdram_n5x.c
> @@ -22,6 +22,7 @@
> #include <asm/io.h>
> #include <linux/err.h>
> #include <linux/sizes.h>
> +#include <u-boot/schedule.h>
>
> DECLARE_GLOBAL_DATA_PTR;
>
> diff --git a/drivers/ddr/altera/sdram_soc64.c b/drivers/ddr/altera/sdram_soc64.c
> index 9e57c2ecfa4..10a8e64af3d 100644
> --- a/drivers/ddr/altera/sdram_soc64.c
> +++ b/drivers/ddr/altera/sdram_soc64.c
> @@ -24,6 +24,7 @@
> #include <asm/io.h>
> #include <dm/device_compat.h>
> #include <linux/sizes.h>
> +#include <u-boot/schedule.h>
>
> #define PGTABLE_OFF 0x4000
>
> --
> 2.46.2
>
More information about the U-Boot
mailing list