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

[MTD] Make the init_edb7312nor function static

The init_edb7312nor function is needlessly defined global in
drivers/mtd/maps/edb7312.c, and this patch makes it static.
Signed-off-by: NDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 8d240325
...@@ -71,7 +71,7 @@ static const char *probes[] = { "RedBoot", "cmdlinepart", NULL }; ...@@ -71,7 +71,7 @@ static const char *probes[] = { "RedBoot", "cmdlinepart", NULL };
static int mtd_parts_nb = 0; static int mtd_parts_nb = 0;
static struct mtd_partition *mtd_parts = 0; static struct mtd_partition *mtd_parts = 0;
int __init init_edb7312nor(void) static int __init init_edb7312nor(void)
{ {
static const char *rom_probe_types[] = PROBETYPES; static const char *rom_probe_types[] = PROBETYPES;
const char **type; const char **type;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册