[MTD] Make init_oct5066 function static
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed Dec 10 08:59:02 EST 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=d849257c428bf9f06f25fa3dea14cd1e7650948d
Commit: d849257c428bf9f06f25fa3dea14cd1e7650948d
Parent: d8156adb7a2b820b49c8fbb106c2e53160ea88ac
Author: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
AuthorDate: Tue Nov 25 02:55:02 2008 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Dec 10 13:00:56 2008 +0000
[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 at movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/maps/octagon-5066.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/maps/octagon-5066.c b/drivers/mtd/maps/octagon-5066.c
index 43e04c1..2b2e450 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;
More information about the linux-mtd-cvs
mailing list