提交 26eb1085 编写于 作者: D Dmitri Vorobiev 提交者: David Woodhouse

[MTD] Make init_sharpsl symbol static

The function init_sharpsl is needlessly defined global.
Make it static by adding the needed keyword to the file
drivers/mtd/maps/sharpsl-flash.c, where the function is
defined.
Signed-off-by: NDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 4d9c6a21
...@@ -47,7 +47,7 @@ static struct mtd_partition sharpsl_partitions[1] = { ...@@ -47,7 +47,7 @@ static struct mtd_partition sharpsl_partitions[1] = {
} }
}; };
int __init init_sharpsl(void) static int __init init_sharpsl(void)
{ {
struct mtd_partition *parts; struct mtd_partition *parts;
int nb_parts = 0; int nb_parts = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册