mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
committed by
Tom Rini
parent
8a049dd642
commit
7a9dfe75cf
@@ -44,7 +44,6 @@ extern int board_nand_init(struct nand_chip *nand);
|
||||
#endif
|
||||
|
||||
extern int nand_curr_device;
|
||||
extern struct mtd_info *nand_info[];
|
||||
|
||||
static inline int nand_read(struct mtd_info *info, loff_t ofs, size_t *len,
|
||||
u_char *buf)
|
||||
|
Reference in New Issue
Block a user