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_wiki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print_wiki.c') 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++) -- cgit v1.1