Skip to contentSkip to conversation

i2c: Add missing <linux/delay.h> to iproc_i2c.c

PATCH In review Tom Rini 2 participants 2 messages Jul 2, 2025 – Jul 17, 2025

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 i2c: Add missing <linux/delay.h> to iproc_i2c.c

This driver makes delay function calls while relying on an indirection inclusion of <linux/delay.h>. Add the missing include directly.

---
 drivers/i2c/iproc_i2c.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/iproc_i2c.c +1 -0
index 6570f64fe774..8f94dfe117e0 100644
@@ -8,6 +8,7 @@
 #include <asm/io.h>
 #include <config.h>
 #include <dm.h>
+#include <linux/delay.h>
 #include <linux/printk.h>
 #include "errno.h"
 #include <i2c.h>
Signature · 1 line
2.43.0
#1 lore raw

Hello Tom,

Quoted 7 lines · Tom Rini

This driver makes delay function calls while relying on an indirection inclusion of <linux/delay.h>. Add the missing include directly.

---
  drivers/i2c/iproc_i2c.c | 1 +
  1 file changed, 1 insertion(+)

applied to u-boot-i2c.git master, thanks!

bye,
Heiko

Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Johanna Denk, Tabea Lutz
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: [email protected]