From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:55:06 +0000 (+0200) Subject: [MTD] Make init_sbc8240_mtd function static X-Git-Tag: v2.6.29-rc1~33^2~54 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9ee49fa5c1b58453cb97969a8282fd7bbf0ad0d4;p=linux-2.6-omap-h63xx.git [MTD] Make init_sbc8240_mtd function static The function init_sbc8240_mtd is not called from outside the module drivers/mtd/maps/sbc8240.c where it is defined, so it can become static. Add the needed keyword. Signed-off-by: Dmitri Vorobiev Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/sbc8240.c b/drivers/mtd/maps/sbc8240.c index 6e1e99cd2b5..d5374cdcb16 100644 --- a/drivers/mtd/maps/sbc8240.c +++ b/drivers/mtd/maps/sbc8240.c @@ -136,7 +136,7 @@ static struct mtd_part_def sbc8240_part_banks[NUM_FLASH_BANKS]; #endif /* CONFIG_MTD_PARTITIONS */ -int __init init_sbc8240_mtd (void) +static int __init init_sbc8240_mtd (void) { static struct _cjs { u_long addr;