[PATCH] fpga: Make do_fpga_loads() static
Michal Simek
michal.simek at amd.com
Wed Feb 5 08:45:58 CET 2025
On 2/3/25 10:28, Michal Simek wrote:
> do_fpga_loads() is not called from anywhere else that's why make it static.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
> cmd/fpga.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/cmd/fpga.c b/cmd/fpga.c
> index 212f421739fa..9dc7b63db5d1 100644
> --- a/cmd/fpga.c
> +++ b/cmd/fpga.c
> @@ -67,7 +67,8 @@ static int do_fpga_check_params(long *dev, long *fpga_data, size_t *data_size,
> }
>
> #if defined(CONFIG_CMD_FPGA_LOAD_SECURE)
> -int do_fpga_loads(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
> +static int do_fpga_loads(struct cmd_tbl *cmdtp, int flag, int argc,
> + char *const argv[])
> {
> size_t data_size = 0;
> long fpga_data, dev;
Applied.
M
More information about the U-Boot
mailing list