mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[MTD] [NOR] cfi_cmdset_0020.c: make a function static
This patch makes the needlessly global cfi_staa_erase_varsize() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
5ce45d5005
commit
eb8e31831a
1 changed files with 2 additions and 1 deletions
|
@ -893,7 +893,8 @@ retry:
|
|||
return ret;
|
||||
}
|
||||
|
||||
int cfi_staa_erase_varsize(struct mtd_info *mtd, struct erase_info *instr)
|
||||
static int cfi_staa_erase_varsize(struct mtd_info *mtd,
|
||||
struct erase_info *instr)
|
||||
{ struct map_info *map = mtd->priv;
|
||||
struct cfi_private *cfi = map->fldrv_priv;
|
||||
unsigned long adr, len;
|
||||
|
|
Loading…
Reference in a new issue