[PATCH 10/13] i2c: rzg2l: include u-boot/schedule.h

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


On 10/3/24 23:27, Rasmus Villemoes wrote:
> This TU currently relies on getting a declaration of schedule()
> through some nested include. Include the proper header directly.
> 
> Signed-off-by: Rasmus Villemoes <ravi at prevas.dk>

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

Thanks,
Stefan

> ---
>   drivers/i2c/rz_riic.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/i2c/rz_riic.c b/drivers/i2c/rz_riic.c
> index 5f3f8d1b24b..f292c824362 100644
> --- a/drivers/i2c/rz_riic.c
> +++ b/drivers/i2c/rz_riic.c
> @@ -14,6 +14,7 @@
>   #include <linux/bitops.h>
>   #include <linux/delay.h>
>   #include <reset.h>
> +#include <u-boot/schedule.h>
>   #include <wait_bit.h>
>   
>   #define RIIC_ICCR1	0x00

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