[PATCH 12/13] boot: cedit: include u-boot/schedule.h

Simon Glass sjg at chromium.org
Wed Oct 9 03:51:49 CEST 2024


On Thu, 3 Oct 2024 at 15:30, Rasmus Villemoes <ravi at prevas.dk> wrote:
>
> This TU currently relies on getting a declaration of schedule()
> through some nested include. Include the proper header directly.
>
> Signed-off-by: Rasmus Villemoes <ravi at prevas.dk>
> ---
>  boot/cedit.c | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>



> diff --git a/boot/cedit.c b/boot/cedit.c
> index c29a2be14ce..ff0efda3a7b 100644
> --- a/boot/cedit.c
> +++ b/boot/cedit.c
> @@ -20,6 +20,7 @@
>  #include <video.h>
>  #include <linux/delay.h>
>  #include "scene_internal.h"
> +#include <u-boot/schedule.h>
>
>  enum {
>         CMOS_MAX_BITS   = 2048,
> --
> 2.46.2
>


More information about the U-Boot mailing list