]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
i2c: rzg2l: include u-boot/schedule.h
authorRasmus Villemoes <ravi@prevas.dk>
Thu, 3 Oct 2024 21:27:59 +0000 (23:27 +0200)
committerStefan Roese <sr@denx.de>
Wed, 23 Oct 2024 04:52:38 +0000 (06:52 +0200)
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@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/i2c/rz_riic.c

index 5f3f8d1b24b77412f169c0936363f771ca833943..f292c8243621e2b997869129d42dfa3ef7f9332a 100644 (file)
@@ -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