summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-11-25 01:54:56 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-12-10 14:00:51 +0100
commitd8156adb7a2b820b49c8fbb106c2e53160ea88ac (patch)
tree73dbcd5c67753114332c7742a801cf6c0f3ab54c /drivers
parent[MTD] Make init_sbc82xx_flash function static (diff)
downloadlinux-d8156adb7a2b820b49c8fbb106c2e53160ea88ac.tar.xz
linux-d8156adb7a2b820b49c8fbb106c2e53160ea88ac.zip
[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: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/maps/edb7312.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/edb7312.c b/drivers/mtd/maps/edb7312.c
index 9433738c1664..be9e90b44587 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;