[MTD] Make init_tqm_mtd function static

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Dec 10 08:59:02 EST 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e30bb9cf5fba1ddf2b89dc72159d6fbb2c49ef2f
Commit:     e30bb9cf5fba1ddf2b89dc72159d6fbb2c49ef2f
Parent:     769455e224fbec3a27acc7644d11581314ddcb98
Author:     Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
AuthorDate: Tue Nov 25 02:55:08 2008 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Dec 10 13:00:37 2008 +0000

    [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 <dmitri.vorobiev at movial.fi>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/maps/tqm8xxl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/tqm8xxl.c b/drivers/mtd/maps/tqm8xxl.c
index a5d3d85..6014698 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;



More information about the linux-mtd-cvs mailing list