summaryrefslogtreecommitdiff
path: root/dummyflasher.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 /dummyflasher.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 'dummyflasher.c')
-rw-r--r--dummyflasher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dummyflasher.c b/dummyflasher.c
index 655b678..383ca58 100644
--- a/dummyflasher.c
+++ b/dummyflasher.c
@@ -66,7 +66,7 @@ int spi_ignorelist_size = 0;
static uint8_t emu_status = 0;
/* A legit complete SFDP table based on the MX25L6436E (rev. 1.8) datasheet. */
-static const uint8_t const sfdp_table[] = {
+static const uint8_t sfdp_table[] = {
0x53, 0x46, 0x44, 0x50, // @0x00: SFDP signature
0x00, 0x01, 0x01, 0xFF, // @0x04: revision 1.0, 2 headers
0x00, 0x00, 0x01, 0x09, // @0x08: JEDEC SFDP header rev. 1.0, 9 DW long