projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ce45d5
)
[MTD] [NOR] cfi_cmdset_0020.c: make a function static
author
Adrian Bunk
<bunk@kernel.org>
Mon, 14 Apr 2008 14:20:30 +0000
(17:20 +0300)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/chips/cfi_cmdset_0020.c
b/drivers/mtd/chips/cfi_cmdset_0020.c
index 669caebba451326a726e0abf9d3773ab1e160ad9..1b720cc571f315dfbb1ec2a7faed160835bbb00b 100644
(file)
--- 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;