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 dafaf11..a75d861 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>