]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] [NAND] at91_nand: Make part_probes[] static
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 30 Mar 2008 12:59:37 +0000 (21:59 +0900)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 13:50:40 +0000 (14:50 +0100)
The part_probes[] should be static.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Jörn Engel <joern@logfs.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/at91_nand.c

index 7ea1a74a52b7fa89bec69e9448b6ae57490fa448..463632ed794c84771d364547342d79040921cef4 100644 (file)
@@ -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
 
 /*