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 --- programmer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'programmer.h') diff --git a/programmer.h b/programmer.h index cd5d584..19c3a30 100644 --- a/programmer.h +++ b/programmer.h @@ -515,7 +515,7 @@ struct decode_sizes { extern struct decode_sizes max_rom_decode; extern int programmer_may_write; extern unsigned long flashbase; -void check_chip_supported(struct flashchip *flash); +void check_chip_supported(const struct flashchip *flash); int check_max_decode(enum chipbustype buses, uint32_t size); char *extract_programmer_param(char *param_name); -- cgit v1.1