diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-05-04 00:39:50 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-05-04 00:39:50 +0000 |
commit | 4c82318e4ac57b6da384700fb9d454535b62b3ae (patch) | |
tree | 7d92a35b73cef6e339d3dfe1d3635c5843250046 /print.c | |
parent | 54ce73a1f5c7ddecc7579c136dbac9c2c201b621 (diff) | |
download | ast2050-flashrom-4c82318e4ac57b6da384700fb9d454535b62b3ae.zip ast2050-flashrom-4c82318e4ac57b6da384700fb9d454535b62b3ae.tar.gz |
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.c')
-rw-r--r-- | print.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ static void print_supported_chips(void) { int okcol = 0, pos = 0, i, chipcount = 0; int maxchiplen = 0, maxvendorlen = 0; - struct flashchip *f; + const struct flashchip *f; for (f = flashchips; f->name != NULL; f++) { /* Ignore "unknown XXXX SPI chip" entries. */ |