[MTD] [NAND] mtd/nand/cs553x_nand.c:part_probes[] static

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Apr 22 07:59:02 EDT 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=ec12cc74e998fa39e8d707d2deb3116f9838308a
Commit:     ec12cc74e998fa39e8d707d2deb3116f9838308a
Parent:     7903cbabcb90a7d485e67062400481c321090a4f
Author:     Adrian Bunk <bunk at kernel.org>
AuthorDate: Fri Apr 18 13:44:12 2008 -0700
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Apr 22 12:35:40 2008 +0100

    [MTD] [NAND] mtd/nand/cs553x_nand.c:part_probes[] static
    
    Make the needlessly global part_probes[] static.
    
    Signed-off-by: Adrian Bunk <bunk at kernel.org>
    Acked-by: Mart Raudsepp <mart.raudsepp at artecdesign.ee>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/nand/cs553x_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index 8dab696..3370a80 100644
--- a/drivers/mtd/nand/cs553x_nand.c
+++ b/drivers/mtd/nand/cs553x_nand.c
@@ -279,7 +279,7 @@ static int is_geode(void)
 
 
 #ifdef CONFIG_MTD_PARTITIONS
-const char *part_probes[] = { "cmdlinepart", NULL };
+static const char *part_probes[] = { "cmdlinepart", NULL };
 #endif
 
 



More information about the linux-mtd-cvs mailing list