[PATCH 03/13] led: include cyclic.h in led_sw_blink.c
Simon Glass
sjg at chromium.org
Wed Oct 9 03:52:39 CEST 2024
On Thu, 3 Oct 2024 at 15:28, Rasmus Villemoes <ravi at prevas.dk> 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>
> ---
> drivers/led/led_sw_blink.c | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
> 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