summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2017-06-26 19:13:08 -0500
committerTom Rini <trini@konsulko.com>2017-07-11 22:41:54 -0400
commit7a9dfe75cf3fbc6c39b34c07e4d096f9573592aa (patch)
tree7fba04b3b73a4ecbc47dd2558da7516fc1735422 /include/nand.h
parent8a049dd642a1e51eed928dd12527325334bb2bd9 (diff)
downloadu-boot-7a9dfe75cf3fbc6c39b34c07e4d096f9573592aa.tar.gz
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>
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/nand.h b/include/nand.h
index c8556e1753..c1c1d8cce6 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -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)