Patchwork [05/20,MTD] Make the init_edb7312nor function static

login
register
mail settings
Submitter Dmitri Vorobiev
Date Nov. 25, 2008, 12:54 a.m.
Message ID <1227574511-23879-6-git-send-email-dmitri.vorobiev@movial.fi>
Download mbox | patch
Permalink /patch/11721/
State Accepted
Commit d8156adb7a2b820b49c8fbb106c2e53160ea88ac
Headers show

Comments

Dmitri Vorobiev - Nov. 25, 2008, 12:54 a.m.
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>
---
 drivers/mtd/maps/edb7312.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/mtd/maps/edb7312.c b/drivers/mtd/maps/edb7312.c
index 9433738..be9e90b 100644
--- a/drivers/mtd/maps/edb7312.c
+++ b/drivers/mtd/maps/edb7312.c
@@ -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;