diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 01:15:21 +0000 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2010-12-17 14:32:11 -0600 |
commit | 0bdecd82dda4f0c60220cbd3932a3012b3611fc9 (patch) | |
tree | 5241997e5880d18220f21326a4ce3e05b4276938 /include | |
parent | 326a69452745352ab09fe9b11d3d2fa4e9213c1c (diff) |
nand: constify id/manu tables
These id tables need not be writable.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/nand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 94ad0c0e36..519f47e4d3 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -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); |