summaryrefslogtreecommitdiffstats
path: root/print_wiki.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-05-04 00:39:50 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-05-04 00:39:50 +0000
commit4c82318e4ac57b6da384700fb9d454535b62b3ae (patch)
tree7d92a35b73cef6e339d3dfe1d3635c5843250046 /print_wiki.c
parent54ce73a1f5c7ddecc7579c136dbac9c2c201b621 (diff)
downloadflashrom-4c82318e4ac57b6da384700fb9d454535b62b3ae.tar.gz
flashrom-4c82318e4ac57b6da384700fb9d454535b62b3ae.tar.bz2
flashrom-4c82318e4ac57b6da384700fb9d454535b62b3ae.zip
Constify flashchips array
This moves 99.5% of the .data section to .rodata (which ends up in .text). Corresponding to flashrom svn r1293. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'print_wiki.c')
-rw-r--r--print_wiki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_wiki.c b/print_wiki.c
index 8b13f7043..6c40ec62c 100644
--- a/print_wiki.c
+++ b/print_wiki.c
@@ -201,7 +201,7 @@ static void print_supported_boards_wiki(void)
static void print_supported_chips_wiki(int cols)
{
int i = 0, c = 1, chipcount = 0;
- struct flashchip *f, *old = NULL;
+ const struct flashchip *f, *old = NULL;
uint32_t t;
for (f = flashchips; f->name != NULL; f++)