summaryrefslogtreecommitdiff
path: root/ichspi.c
diff options
context:
space:
mode:
authorstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-01-15 17:37:48 +0000
committerstefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2013-01-15 17:37:48 +0000
commitc458815baf6c630cee9be822eaf371a70ac97af1 (patch)
tree3cfa28408caa64594638f4a5cad7f5deafa8506a /ichspi.c
parent0fd7a888281d2cb394bc08676c62df274a59ab66 (diff)
downloadflashrom-c458815baf6c630cee9be822eaf371a70ac97af1.tar.gz
Fix duplicate 'const' declaration specifiers.
Thanks to Idwer and clang for noticing these problems. Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> Signed-off-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1646 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'ichspi.c')
-rw-r--r--ichspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ichspi.c b/ichspi.c
index 2a3d58a..12f4584 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,