[PATCH 10/13] i2c: rzg2l: include u-boot/schedule.h
Rasmus Villemoes
ravi at prevas.dk
Thu Oct 3 23:27:59 CEST 2024
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(+)
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
--
2.46.2
More information about the U-Boot
mailing list