[PATCH] mcp230xx_gpio.c: Add a missing include file.
Philip Balister
philip at balister.org
Fri Oct 18 23:19:57 CEST 2024
* Fixes a warning about implicit declaration of udelay.
Signed-off-by: Philip Balister <philip at balister.org>
---
drivers/gpio/mcp230xx_gpio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/mcp230xx_gpio.c b/drivers/gpio/mcp230xx_gpio.c
index 42e7fe9d474..b6f533b1306 100644
--- a/drivers/gpio/mcp230xx_gpio.c
+++ b/drivers/gpio/mcp230xx_gpio.c
@@ -14,6 +14,7 @@
#include <asm/gpio.h>
#include <dm/device_compat.h>
#include <dt-bindings/gpio/gpio.h>
+#include <linux/delay.h>
enum mcp230xx_type {
UNKNOWN = 0,
--
2.46.2
More information about the U-Boot
mailing list