]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] Make the function init_vmax301 static
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:55:10 +0000 (02:55 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:01:17 +0000 (13:01 +0000)
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>
drivers/mtd/maps/vmax301.c

index 5a0c9a353b0fa63021834321afa2eab691c6864f..6d452dcdfe34756656e2014739ccdabeb9d29064 100644 (file)
@@ -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;