From: Rasmus Villemoes Date: Thu, 3 Oct 2024 21:27:58 +0000 (+0200) Subject: lib/sha*: include u-boot/schedule.h instead of cyclic.h X-Git-Tag: v2025.01-rc1~23^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed8a807df87eae2f3c1a41f9b2d4b3e0191648db;p=pandora-u-boot.git lib/sha*: include u-boot/schedule.h instead of cyclic.h These library routines obviously do not make use of the cyclic_register() etc. API, but do need to call schedule(). Include the proper header. Eventually, their ifdef logic should be updated to avoid talking about CONFIG_WATCHDOG. Signed-off-by: Rasmus Villemoes Reviewed-by: Simon Glass Reviewed-by: Stefan Roese --- diff --git a/lib/sha1.c b/lib/sha1.c index 81412283b49..a9d6497c4ce 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -17,7 +17,7 @@ #endif #ifndef USE_HOSTCC -#include +#include #endif /* USE_HOSTCC */ #include #include diff --git a/lib/sha256.c b/lib/sha256.c index 665ba6f152e..329802fd827 100644 --- a/lib/sha256.c +++ b/lib/sha256.c @@ -6,7 +6,7 @@ */ #ifndef USE_HOSTCC -#include +#include #endif /* USE_HOSTCC */ #include #include diff --git a/lib/sha512.c b/lib/sha512.c index ffe2c5cd964..ea555ff33eb 100644 --- a/lib/sha512.c +++ b/lib/sha512.c @@ -11,7 +11,7 @@ */ #ifndef USE_HOSTCC -#include +#include #endif /* USE_HOSTCC */ #include #include