From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:55:10 +0000 (+0200) Subject: [MTD] Make the function init_vmax301 static X-Git-Tag: v2.6.29-rc1~33^2~41 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1aed165a602b80428bbdf17478c629169d96eda1;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/vmax301.c b/drivers/mtd/maps/vmax301.c index 5a0c9a353b0..6d452dcdfe3 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;