From: Rasmus Villemoes <ravi@prevas.dk>
Date: Thu, 3 Oct 2024 21:28:01 +0000 (+0200)
Subject: boot: cedit: include u-boot/schedule.h
X-Git-Tag: v2025.01-rc5-pxa1908~214^2~2
X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=a21aed059761d67066d71a09b2dfb9387fdcfcbd;p=u-boot.git

boot: cedit: include u-boot/schedule.h

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@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
---

diff --git a/boot/cedit.c b/boot/cedit.c
index d12892fbc4..d69290c172 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,