[MTD] Make the function init_vmax301 static
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed Dec 10 08:59:03 EST 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=1aed165a602b80428bbdf17478c629169d96eda1
Commit: 1aed165a602b80428bbdf17478c629169d96eda1
Parent: e63b3f94b026e34773cfe5621ae5a8bf69d4cd74
Author: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
AuthorDate: Tue Nov 25 02:55:10 2008 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Dec 10 13:01:17 2008 +0000
[MTD] Make the function init_vmax301 static
The function init_vmax301 is needlessly defined global in
drivers/mtd/maps/vmax301.c, and this patch makes 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/vmax301.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/maps/vmax301.c b/drivers/mtd/maps/vmax301.c
index 5a0c9a3..6d452dc 100644
--- a/drivers/mtd/maps/vmax301.c
+++ b/drivers/mtd/maps/vmax301.c
@@ -146,7 +146,7 @@ static void __exit cleanup_vmax301(void)
iounmap((void *)vmax_map[0].map_priv_1 - WINDOW_START);
}
-int __init init_vmax301(void)
+static int __init init_vmax301(void)
{
int i;
unsigned long iomapadr;
More information about the linux-mtd-cvs
mailing list