diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-05-04 00:39:50 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-05-04 00:39:50 +0000 |
commit | 4fc378f9603b1989f72d99108cc11b65cdf6f10a (patch) | |
tree | 7d92a35b73cef6e339d3dfe1d3635c5843250046 /print_wiki.c | |
parent | 2368caa6fe1973291d4ea3a22e50b03a59e6d917 (diff) | |
download | flashrom-4fc378f9603b1989f72d99108cc11b65cdf6f10a.tar.gz |
Constify flashchips array.
This moves 99.5% of the .data section to .rodata (which ends up in .text).
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1293 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'print_wiki.c')
-rw-r--r-- | print_wiki.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print_wiki.c b/print_wiki.c index 8b13f70..6c40ec6 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++) |