[PATCH 10/13] i2c: rzg2l: include u-boot/schedule.h
Simon Glass
sjg at chromium.org
Wed Oct 9 03:55:32 CEST 2024
On Thu, 3 Oct 2024 at 15:29, Rasmus Villemoes <ravi at prevas.dk> 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>
> ---
> drivers/i2c/rz_riic.c | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
> 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>
dodgy header-order here, although it predates this patch.
>
> #define RIIC_ICCR1 0x00
> --
> 2.46.2
>
More information about the U-Boot
mailing list