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: firefly_0821_release~21546^2~56 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=52f8301437a0ba744265e0549ee7239eb85426fc;p=firefly-linux-kernel-4.4.55.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 /*