From: Atsushi Nemoto Date: Sun, 30 Mar 2008 12:59:37 +0000 (+0900) Subject: [MTD] [NAND] at91_nand: Make part_probes[] static X-Git-Tag: v2.6.26-rc1~1069^2~56 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=52f8301437a0ba744265e0549ee7239eb85426fc;p=linux-2.6-omap-h63xx.git [MTD] [NAND] at91_nand: Make part_probes[] static The part_probes[] should be static. Signed-off-by: Atsushi Nemoto Acked-by: Jörn Engel Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/at91_nand.c b/drivers/mtd/nand/at91_nand.c index 7ea1a74a52b..463632ed794 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 /*