From 7a9dfe75cf3fbc6c39b34c07e4d096f9573592aa Mon Sep 17 00:00:00 2001 From: Grygorii Strashko Date: Mon, 26 Jun 2017 19:13:08 -0500 Subject: 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 --- include/nand.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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) -- cgit