summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPhilip Balister <[email protected]>2024-10-18 17:19:57 -0400
committerTom Rini <[email protected]>2024-10-24 11:19:31 -0600
commit3cf94b6f41dfb8e237d8b62cb90439cb7f5183c1 (patch)
tree2404ac52c9557e2e5d0e99246169e8590e9672c6 /drivers
parenta0e808dd0f8c01a88154f4b861b86f492da5df81 (diff)
mcp230xx_gpio.c: Add a missing include file.
* Fixes a warning about implicit declaration of udelay. Signed-off-by: Philip Balister <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/mcp230xx_gpio.c1
1 files changed, 1 insertions, 0 deletions
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,