[MTD] Make the init_edb7312nor function static
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:54:56 +0000 (02:54 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:00:51 +0000 (13:00 +0000)
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>
drivers/mtd/maps/edb7312.c

index 9433738c1664178071690e484c4f346886ee4f0e..be9e90b44587a45c7fce5be7659de52f7613dca9 100644 (file)
@@ -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;