From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:54:57 +0000 (+0200) Subject: [MTD] Make init_fortunet function static X-Git-Tag: v2.6.29-rc1~33^2~42 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e63b3f94b026e34773cfe5621ae5a8bf69d4cd74;p=linux-2.6-omap-h63xx.git [MTD] Make init_fortunet function static The symbol init_fortunet is needlessly defined global in drivers/mtd/maps/fortunet.c. Make it static and clean up the kernel global namespace. Signed-off-by: Dmitri Vorobiev Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/fortunet.c b/drivers/mtd/maps/fortunet.c index a8e3fde4cbd..1e43124d498 100644 --- a/drivers/mtd/maps/fortunet.c +++ b/drivers/mtd/maps/fortunet.c @@ -181,7 +181,7 @@ __setup("MTD_Partition=", MTD_New_Partition); /* Backwards-spelling-compatibility */ __setup("MTD_Partion=", MTD_New_Partition); -int __init init_fortunet(void) +static int __init init_fortunet(void) { int ix,iy; for(iy=ix=0;ix