From 4c82318e4ac57b6da384700fb9d454535b62b3ae Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Wed, 4 May 2011 00:39:50 +0000 Subject: 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 Acked-by: Stefan Reinauer --- print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print.c') diff --git a/print.c b/print.c index c839e38..8d3c004 100644 --- a/print.c +++ b/print.c @@ -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. */ -- cgit v1.1