From: Adrian Bunk Date: Mon, 14 Apr 2008 14:20:30 +0000 (+0300) Subject: [MTD] [NOR] cfi_cmdset_0020.c: make a function static X-Git-Tag: v2.6.26-rc1~1069^2~46 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=eb8e31831a603f285ee9e6ffc59d5366e0ff8a8e;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/chips/cfi_cmdset_0020.c b/drivers/mtd/chips/cfi_cmdset_0020.c index 669caebba45..1b720cc571f 100644 --- a/drivers/mtd/chips/cfi_cmdset_0020.c +++ b/drivers/mtd/chips/cfi_cmdset_0020.c @@ -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;