]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] [NOR] cfi_cmdset_0020.c: make a function static
authorAdrian Bunk <bunk@kernel.org>
Mon, 14 Apr 2008 14:20:30 +0000 (17:20 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 14:56:16 +0000 (15:56 +0100)
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>
drivers/mtd/chips/cfi_cmdset_0020.c

index 669caebba451326a726e0abf9d3773ab1e160ad9..1b720cc571f315dfbb1ec2a7faed160835bbb00b 100644 (file)
@@ -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;