mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
fpga: Make do_fpga_loads() static
do_fpga_loads() is not called from anywhere else that's why make it static. Reviewed-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/cbe93e4eb33752aaddc943b15fd04731d4f75b68.1738574893.git.michal.simek@amd.com
This commit is contained in:
parent
685874939a
commit
6b82252c36
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue