i2c: Add missing <linux/delay.h> to iproc_i2c.c
Subsystems (2)
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.
Signed-off-by Tom Rini <[email protected]>
--- drivers/i2c/iproc_i2c.c | 1 + 1 file changed, 1 insertion(+)
drivers/i2c/iproc_i2c.c +1 -0
@@ -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
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.Signed-off-by Tom Rini <[email protected]>--- 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]