From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:55:08 +0000 (+0200) Subject: [MTD] Make init_tqm_mtd function static X-Git-Tag: v2.6.29-rc1~33^2~51 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e30bb9cf5fba1ddf2b89dc72159d6fbb2c49ef2f;p=linux-2.6-omap-h63xx.git [MTD] Make init_tqm_mtd function static The init_tqm_mtd function does not need to be defined globally in drivers/mtd/maps/tqm8xxl.c. Make it static. Signed-off-by: Dmitri Vorobiev Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/tqm8xxl.c b/drivers/mtd/maps/tqm8xxl.c index a5d3d8531fa..60146984f4b 100644 --- a/drivers/mtd/maps/tqm8xxl.c +++ b/drivers/mtd/maps/tqm8xxl.c @@ -109,7 +109,7 @@ static struct mtd_partition tqm8xxl_fs_partitions[] = { }; #endif -int __init init_tqm_mtd(void) +static int __init init_tqm_mtd(void) { int idx = 0, ret = 0; unsigned long flash_addr, flash_size, mtd_size = 0;