diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-11-25 02:55:10 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-12-10 13:01:17 +0000 |
commit | 1aed165a602b80428bbdf17478c629169d96eda1 (patch) | |
tree | fb5519bb45eb0f9f13b9c53c7e2920b51082cfc1 /drivers/mtd/maps/vmax301.c | |
parent | e63b3f94b026e34773cfe5621ae5a8bf69d4cd74 (diff) | |
download | linux-stable-1aed165a602b80428bbdf17478c629169d96eda1.tar.gz linux-stable-1aed165a602b80428bbdf17478c629169d96eda1.tar.bz2 linux-stable-1aed165a602b80428bbdf17478c629169d96eda1.zip |
[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@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/vmax301.c')
-rw-r--r-- | 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 5a0c9a353b0f..6d452dcdfe34 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; |