On Thu, 3 Oct 2024 at 15:29, Rasmus Villemoes <r...@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 <r...@prevas.dk> > --- > drivers/i2c/rz_riic.c | 1 + > 1 file changed, 1 insertion(+) >
Reviewed-by: Simon Glass <s...@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 >