]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
spi: altera_spi: Add missing <time.h> to altera_spi.c
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:57:18 +0000 (15:57 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 28 Oct 2025 18:53:58 +0000 (12:53 -0600)
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@konsulko.com>
drivers/spi/altera_spi.c

index dafaf1130bb379783ab5ef11da6e5ffd9ce00b68..a75d861bda489c97e4986ea02c56559312f00d51 100644 (file)
@@ -12,6 +12,7 @@
 #include <malloc.h>
 #include <fdtdec.h>
 #include <spi.h>
+#include <time.h>
 #include <asm/io.h>
 #include <linux/bitops.h>