mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
326a694527
commit
0bdecd82dd
3 changed files with 7 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue