Skip to content

Commit 52f8301

Browse files
atsushi-nemotodwmw2
authored andcommitted
[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>
1 parent 1ff1842 commit 52f8301

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/nand/at91_nand.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ static void at91_nand_disable(struct at91_nand_host *host)
8383
}
8484

8585
#ifdef CONFIG_MTD_PARTITIONS
86-
const char *part_probes[] = { "cmdlinepart", NULL };
86+
static const char *part_probes[] = { "cmdlinepart", NULL };
8787
#endif
8888

8989
/*

0 commit comments

Comments
 (0)