summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPieter Van Trappen <[email protected]>2025-07-08 17:24:49 +0200
committerMichal Simek <[email protected]>2025-07-24 08:54:15 +0200
commit354b2a29ec40d643c8a0facf5bfb4c66386e9391 (patch)
treef712cb4df3d972274248937644d107316b82b0d1 /include
parent53a10c8ce996dff088fe4afecf0ea446acba854b (diff)
drivers: fpga: cleanup printf usage
Remove `fpga_no_sup` to get rid of Werror=unused-function when all FPGA configurations are enabled. Swap all printf calls to log_* as this is now preferred and includes the calling __func__. Signed-off-by: Pieter Van Trappen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/fpga.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fpga.h b/include/fpga.h
index 4cc44164b2f..a144238e66a 100644
--- a/include/fpga.h
+++ b/include/fpga.h
@@ -79,7 +79,7 @@ int fpga_loadbitstream(int devnum, char *fpgadata, size_t size,
int fpga_dump(int devnum, const void *buf, size_t bsize);
int fpga_info(int devnum);
const fpga_desc *fpga_validate(int devnum, const void *buf,
- size_t bsize, char *fn);
+ size_t bsize);
int fpga_compatible2flag(int devnum, const char *compatible);
#endif /* _FPGA_H_ */