summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 01:15:21 +0000
committerScott Wood <scottwood@freescale.com>2010-12-17 14:32:11 -0600
commit0bdecd82dda4f0c60220cbd3932a3012b3611fc9 (patch)
tree5241997e5880d18220f21326a4ce3e05b4276938 /include/linux
parent326a69452745352ab09fe9b11d3d2fa4e9213c1c (diff)
downloadu-boot-imx-0bdecd82dda4f0c60220cbd3932a3012b3611fc9.zip
u-boot-imx-0bdecd82dda4f0c60220cbd3932a3012b3611fc9.tar.gz
u-boot-imx-0bdecd82dda4f0c60220cbd3932a3012b3611fc9.tar.bz2
nand: constify id/manu tables
These id tables need not be writable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 94ad0c0..519f47e 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);