summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-01-15 17:37:48 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-01-15 17:37:48 +0000
commit67d163d2fa6e7db9673e8ec820b8ef21bca5e907 (patch)
tree3cfa28408caa64594638f4a5cad7f5deafa8506a /ichspi.c
parent8225868465f6ad75958a1f81514d9c4978487184 (diff)
downloadflashrom-67d163d2fa6e7db9673e8ec820b8ef21bca5e907.tar.gz
flashrom-67d163d2fa6e7db9673e8ec820b8ef21bca5e907.tar.bz2
flashrom-67d163d2fa6e7db9673e8ec820b8ef21bca5e907.zip
Fix duplicate 'const' declaration specifiers
Thanks to Idwer and clang for noticing these problems. Corresponding to flashrom svn r1646. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Signed-off-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
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 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,