]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ddr: altera: include u-boot/schedule.h
authorRasmus Villemoes <ravi@prevas.dk>
Thu, 3 Oct 2024 21:28:00 +0000 (23:28 +0200)
committerStefan Roese <sr@denx.de>
Wed, 23 Oct 2024 04:52:38 +0000 (06:52 +0200)
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@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/ddr/altera/sdram_n5x.c
drivers/ddr/altera/sdram_soc64.c

index db09986f64b46bee631900ffcfbd1bbe65b6689c..d1fc93b6bdd27c33c6c1b8b4b3a4b400e2ae3153 100644 (file)
@@ -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;
 
index 9e57c2ecfa4f63c26584320c83842e5c213deede..10a8e64af3dc4a976d0e95a0e97bf5336a169c38 100644 (file)
@@ -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