提交 eb8e3183 编写于 作者: A Adrian Bunk 提交者: 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: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 5ce45d50
......@@ -893,7 +893,8 @@ static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, u
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册