drivers: fpga: correct compiler errors and warnings
authorPieter Van Trappen <pieter.van.trappen@cern.ch>
Tue, 8 Jul 2025 15:24:48 +0000 (17:24 +0200)
committerMichal Simek <michal.simek@amd.com>
Thu, 24 Jul 2025 06:54:15 +0000 (08:54 +0200)
commit53a10c8ce996dff088fe4afecf0ea446acba854b
treee6f313a58cbc57a06569ef6fc08ee48ebaeafb33
parent5d74cf2204d48b9a0900fcd2173e807e16ad0fb2
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>
cmd/fpga.c
drivers/fpga/ACEX1K.c
drivers/fpga/ivm_core.c
drivers/fpga/lattice.c
drivers/fpga/spartan2.c
drivers/fpga/stratixII.c
drivers/fpga/stratixv.c
drivers/fpga/versalpl.c
drivers/fpga/virtex2.c
include/stratixII.h