[PATCH 03/13] led: include cyclic.h in led_sw_blink.c

Rasmus Villemoes ravi at prevas.dk
Thu Oct 3 23:27:52 CEST 2024


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 at prevas.dk>
---
 drivers/led/led_sw_blink.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/led/led_sw_blink.c b/drivers/led/led_sw_blink.c
index 9e36edbee47..6976b84544e 100644
--- a/drivers/led/led_sw_blink.c
+++ b/drivers/led/led_sw_blink.c
@@ -5,6 +5,7 @@
  * Author: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
  */
 
+#include <cyclic.h>
 #include <dm.h>
 #include <led.h>
 #include <time.h>
-- 
2.46.2



More information about the U-Boot mailing list