summaryrefslogtreecommitdiff
path: root/drivers/fpga/ACEX1K.c
diff options
context:
space:
mode:
authorPieter Van Trappen <pieter.van.trappen@cern.ch>2025-07-08 17:24:48 +0200
committerMichal Simek <michal.simek@amd.com>2025-07-24 08:54:15 +0200
commit53a10c8ce996dff088fe4afecf0ea446acba854b (patch)
treee6f313a58cbc57a06569ef6fc08ee48ebaeafb33 /drivers/fpga/ACEX1K.c
parent5d74cf2204d48b9a0900fcd2173e807e16ad0fb2 (diff)
drivers: fpga: correct compiler errors and warnings
Errors reported by GCC 14.2 when enabling FPGA commands and drivers. Also many style fixes as reported by checkpatch.pl on the diffs. Most changes in stratixII.c which has been reorganized as well to avoid the top function prototypes. No functional changes. Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch> Link: https://lore.kernel.org/r/20250708152455.1214487-4-vtpieter@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/fpga/ACEX1K.c')
-rw-r--r--drivers/fpga/ACEX1K.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fpga/ACEX1K.c b/drivers/fpga/ACEX1K.c
index 3de9011ac06..e1514fc56d0 100644
--- a/drivers/fpga/ACEX1K.c
+++ b/drivers/fpga/ACEX1K.c
@@ -14,6 +14,7 @@
#include <log.h>
#include <ACEX1K.h> /* ACEX device family */
#include <linux/delay.h>
+#include <time.h>
/* Note: The assumption is that we cannot possibly run fast enough to
* overrun the device (the Slave Parallel mode can free run at 50MHz).