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:
@@ -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)
|
#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;
|
size_t data_size = 0;
|
||||||
long fpga_data, dev;
|
long fpga_data, dev;
|
||||||
|
Reference in New Issue
Block a user