nor/str7x: review scope of symbols
Add "static" qualifier to private function. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
bc7fa896e6
commit
9b5572857a
|
@ -394,7 +394,7 @@ static int str7x_protect(struct flash_bank *bank, int set, int first, int last)
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int str7x_write_block(struct flash_bank *bank, uint8_t *buffer,
|
static int str7x_write_block(struct flash_bank *bank, uint8_t *buffer,
|
||||||
uint32_t offset, uint32_t count)
|
uint32_t offset, uint32_t count)
|
||||||
{
|
{
|
||||||
struct str7x_flash_bank *str7x_info = bank->driver_priv;
|
struct str7x_flash_bank *str7x_info = bank->driver_priv;
|
||||||
|
|
Loading…
Reference in New Issue