Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Adrian Bunk and committed by
David Woodhouse
eb8e3183 5ce45d50

+2 -1
+2 -1
drivers/mtd/chips/cfi_cmdset_0020.c
··· 893 893 return ret; 894 894 } 895 895 896 - int cfi_staa_erase_varsize(struct mtd_info *mtd, struct erase_info *instr) 896 + static int cfi_staa_erase_varsize(struct mtd_info *mtd, 897 + struct erase_info *instr) 897 898 { struct map_info *map = mtd->priv; 898 899 struct cfi_private *cfi = map->fldrv_priv; 899 900 unsigned long adr, len;