[MTD] [NAND] at91_nand: Make part_probes[] static

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


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=52f8301437a0ba744265e0549ee7239eb85426fc
Commit:     52f8301437a0ba744265e0549ee7239eb85426fc
Parent:     1ff184225b15930ea118ac2130f074c741d34f08
Author:     Atsushi Nemoto <anemo at mba.ocn.ne.jp>
AuthorDate: Sun Mar 30 21:59:37 2008 +0900
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Apr 22 14:50:40 2008 +0100

    [MTD] [NAND] at91_nand: Make part_probes[] static
    
    The part_probes[] should be static.
    
    Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
    Acked-by: Jörn Engel <joern at logfs.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/nand/at91_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/at91_nand.c b/drivers/mtd/nand/at91_nand.c
index 7ea1a74..463632e 100644
--- a/drivers/mtd/nand/at91_nand.c
+++ b/drivers/mtd/nand/at91_nand.c
@@ -83,7 +83,7 @@ static void at91_nand_disable(struct at91_nand_host *host)
 }
 
 #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