From: Atsushi Nemoto Date: Sun, 30 Mar 2008 12:59:37 +0000 (+0900) Subject: [MTD] [NAND] at91_nand: Make part_probes[] static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52f8301437a0ba744265e0549ee7239eb85426fc;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 7ea1a74a52b7..463632ed794c 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 /*