From 53a10c8ce996dff088fe4afecf0ea446acba854b Mon Sep 17 00:00:00 2001 From: Pieter Van Trappen Date: Tue, 8 Jul 2025 17:24:48 +0200 Subject: 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 Link: https://lore.kernel.org/r/20250708152455.1214487-4-vtpieter@gmail.com Signed-off-by: Michal Simek --- drivers/fpga/ACEX1K.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/fpga/ACEX1K.c') 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 #include /* ACEX device family */ #include +#include /* Note: The assumption is that we cannot possibly run fast enough to * overrun the device (the Slave Parallel mode can free run at 50MHz). -- cgit v1.2.3