Commit 7a9dfe75cf3fbc6c39b34c07e4d096f9573592aa
Committed by
Tom Rini
1 parent
8a049dd642
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
mtd: nand: make nand_info array static
Make make nand_info array static, since all direct users of nand_info array have been converted to use get_nand_dev_by_index() API. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Showing 2 changed files with 1 additions and 2 deletions Side-by-side Diff
drivers/mtd/nand/nand.c
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | |
20 | 20 | int nand_curr_device = -1; |
21 | 21 | |
22 | -struct mtd_info *nand_info[CONFIG_SYS_MAX_NAND_DEVICE]; | |
22 | +static struct mtd_info *nand_info[CONFIG_SYS_MAX_NAND_DEVICE]; | |
23 | 23 | |
24 | 24 | #ifndef CONFIG_SYS_NAND_SELF_INIT |
25 | 25 | static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; |