MFLASH: review scope of functions
Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
@@ -1302,7 +1302,7 @@ static const struct command_registration mflash_exec_command_handlers[] = {
|
||||
COMMAND_REGISTRATION_DONE
|
||||
};
|
||||
|
||||
int mflash_init_drivers(struct command_context *cmd_ctx)
|
||||
static int mflash_init_drivers(struct command_context *cmd_ctx)
|
||||
{
|
||||
if (!mflash_bank)
|
||||
return ERROR_OK;
|
||||
|
||||
Reference in New Issue
Block a user