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

Stefan Roese sr at denx.de
Tue Oct 22 13:11:23 CEST 2024


On 10/3/24 23:27, Rasmus Villemoes wrote:
> 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>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   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>

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list