Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

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>

authored by

Atsushi Nemoto and committed by
David Woodhouse
52f83014 1ff18422

+1 -1
+1 -1
drivers/mtd/nand/at91_nand.c
··· 83 83 } 84 84 85 85 #ifdef CONFIG_MTD_PARTITIONS 86 - const char *part_probes[] = { "cmdlinepart", NULL }; 86 + static const char *part_probes[] = { "cmdlinepart", NULL }; 87 87 #endif 88 88 89 89 /*