]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
led: include cyclic.h in led_sw_blink.c
authorRasmus Villemoes <ravi@prevas.dk>
Thu, 3 Oct 2024 21:27:52 +0000 (23:27 +0200)
committerStefan Roese <sr@denx.de>
Wed, 23 Oct 2024 04:52:38 +0000 (06:52 +0200)
This makes use of the cyclic API but relies on implicitly getting the
appropriate declarations through some nested include. Include the
cyclic.h 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/led/led_sw_blink.c

index 06a43db340c51df89711a4eebe2c7b5a79b99365..ee1546d02d473c37fe8475489122de26aee22bb9 100644 (file)
@@ -5,6 +5,7 @@
  * Author: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
  */
 
+#include <cyclic.h>
 #include <dm.h>
 #include <led.h>
 #include <time.h>