From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:54:56 +0000 (+0200) Subject: [MTD] Make the init_edb7312nor function static X-Git-Tag: v2.6.29-rc1~33^2~48 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d8156adb7a2b820b49c8fbb106c2e53160ea88ac;p=linux-2.6-omap-h63xx.git [MTD] Make the init_edb7312nor function static The init_edb7312nor function is needlessly defined global in drivers/mtd/maps/edb7312.c, and this patch makes it static. Signed-off-by: Dmitri Vorobiev Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/edb7312.c b/drivers/mtd/maps/edb7312.c index 9433738c166..be9e90b4458 100644 --- a/drivers/mtd/maps/edb7312.c +++ b/drivers/mtd/maps/edb7312.c @@ -71,7 +71,7 @@ static const char *probes[] = { "RedBoot", "cmdlinepart", NULL }; static int mtd_parts_nb = 0; static struct mtd_partition *mtd_parts = 0; -int __init init_edb7312nor(void) +static int __init init_edb7312nor(void) { static const char *rom_probe_types[] = PROBETYPES; const char **type;