mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 01:32:47 +02:00
nand: constify id/manu tables
These id tables need not be writable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Scott Wood
parent
326a694527
commit
0bdecd82dd
@@ -470,8 +470,8 @@ struct nand_manufacturers {
|
||||
char * name;
|
||||
};
|
||||
|
||||
extern struct nand_flash_dev nand_flash_ids[];
|
||||
extern struct nand_manufacturers nand_manuf_ids[];
|
||||
extern const struct nand_flash_dev nand_flash_ids[];
|
||||
extern const struct nand_manufacturers nand_manuf_ids[];
|
||||
|
||||
extern int nand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd);
|
||||
extern int nand_update_bbt(struct mtd_info *mtd, loff_t offs);
|
||||
|
Reference in New Issue
Block a user