Commit d8156adb authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by 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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment