diff options
| author | Tom Rini <[email protected]> | 2025-08-04 15:57:18 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-28 12:53:58 -0600 |
| commit | 80a3c2fda24846df44f6a363d71516c098b9e5c8 (patch) | |
| tree | 3638cb92ceac2e2ed7a7b417568294a286fca4e7 | |
| parent | a5e6bc86ab5701b2b10cdc684acbfe87f781d8bb (diff) | |
spi: altera_spi: Add missing <time.h> to altera_spi.c
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 <[email protected]>
| -rw-r--r-- | drivers/spi/altera_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/altera_spi.c b/drivers/spi/altera_spi.c index dafaf1130bb..a75d861bda4 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> |
