summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-11-25 01:55:02 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-12-10 14:00:56 +0100
commitd849257c428bf9f06f25fa3dea14cd1e7650948d (patch)
tree4ea31bcbf55699aceb740ec24b756bfdf1d253dd /drivers/mtd
parent[MTD] Make the init_edb7312nor function static (diff)
downloadlinux-d849257c428bf9f06f25fa3dea14cd1e7650948d.tar.xz
linux-d849257c428bf9f06f25fa3dea14cd1e7650948d.zip
[MTD] Make init_oct5066 function static
The function init_oct5066 is needlessly defined global in drivers/mtd/maps/octagon-5066.c. Make it static. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/octagon-5066.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/octagon-5066.c b/drivers/mtd/maps/octagon-5066.c
index 43e04c1d22a9..2b2e45093218 100644
--- a/drivers/mtd/maps/octagon-5066.c
+++ b/drivers/mtd/maps/octagon-5066.c
@@ -184,7 +184,7 @@ void cleanup_oct5066(void)
release_region(PAGE_IO, 1);
}
-int __init init_oct5066(void)
+static int __init init_oct5066(void)
{
int i;
int ret = 0;