[PATCH 2/2] spi: altera_spi: Add missing <time.h> to altera_spi.c
Tom Rini
trini at konsulko.com
Mon Aug 4 23:57:18 CEST 2025
This driver references the get_timer macro while relying on an
indirection inclusion of <time.h>. Add the missing include directly.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Jagan Teki <jagan at amarulasolutions.com>
---
drivers/spi/altera_spi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/altera_spi.c b/drivers/spi/altera_spi.c
index dafaf1130bb3..a75d861bda48 100644
--- a/drivers/spi/altera_spi.c
+++ b/drivers/spi/altera_spi.c
@@ -12,6 +12,7 @@
#include <malloc.h>
#include <fdtdec.h>
#include <spi.h>
+#include <time.h>
#include <asm/io.h>
#include <linux/bitops.h>
--
2.43.0
More information about the U-Boot
mailing list