Skip to content

Commit

Permalink
[MTD] Make the init_edb7312nor function static
Browse files Browse the repository at this point in the history
The init_edb7312nor function is needlessly defined global in
drivers/mtd/maps/edb7312.c, and this patch makes it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Dmitri Vorobiev authored and David Woodhouse committed Dec 10, 2008
1 parent 8d24032 commit d8156ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/edb7312.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static const char *probes[] = { "RedBoot", "cmdlinepart", NULL };
static int mtd_parts_nb = 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;
const char **type;
Expand Down

0 comments on commit d8156ad

Please sign in to comment.