From 67d163d2fa6e7db9673e8ec820b8ef21bca5e907 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Tue, 15 Jan 2013 17:37:48 +0000 Subject: Fix duplicate 'const' declaration specifiers Thanks to Idwer and clang for noticing these problems. Corresponding to flashrom svn r1646. Signed-off-by: Stefan Tauner Signed-off-by: Idwer Vollering Acked-by: Stefan Tauner --- ichspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ichspi.c') diff --git a/ichspi.c b/ichspi.c index 2a3d58a16..12f45840c 100644 --- a/ichspi.c +++ b/ichspi.c @@ -1127,7 +1127,7 @@ static void ich_hwseq_set_addr(uint32_t addr) static uint32_t ich_hwseq_get_erase_block_size(unsigned int addr) { uint8_t enc_berase; - static const uint32_t const dec_berase[4] = { + static const uint32_t dec_berase[4] = { 256, 4 * 1024, 8 * 1024, -- cgit v1.2.3