Commit eb8e3183 authored by Adrian Bunk's avatar Adrian Bunk Committed by David Woodhouse

[MTD] [NOR] cfi_cmdset_0020.c: make a function static

This patch makes the needlessly global cfi_staa_erase_varsize() static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 5ce45d50
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment