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 | 0c08e68992d42a8e07cccdcd69fc813a45874caf (patch) | |
tree | 7d92a35b73cef6e339d3dfe1d3635c5843250046 /flashchips.c | |
parent | 20c9ed251c13ab15014c75a0e313cc6935e4bf55 (diff) | |
download | flashrom-0c08e68992d42a8e07cccdcd69fc813a45874caf.zip flashrom-0c08e68992d42a8e07cccdcd69fc813a45874caf.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 'flashchips.c')
-rw-r--r-- | flashchips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flashchips.c b/flashchips.c index b36f6ee..2f344b8 100644 --- a/flashchips.c +++ b/flashchips.c @@ -32,7 +32,7 @@ * Please keep the list sorted by vendor name and chip name, so that * the output of 'flashrom -L' is alphabetically sorted. */ -struct flashchip flashchips[] = { +const struct flashchip flashchips[] = { /* * .vendor = Vendor name |