summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/persimmon
diff options
context:
space:
mode:
authorJens Rottmann <JRottmann@LiPPERTembedded.de>2013-02-20 21:24:20 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-21 19:33:52 +0100
commit824e192809e021b3cdee947a44b3a18d276bdb35 (patch)
treeb8451378bcac80ec3141ed86c75a5a556cb09878 /src/mainboard/amd/persimmon
parent3138bb875c57c3962cd0ee00e0e297af1a315108 (diff)
Persimmon: platform_cfg.h: Declare codec arrays as `static const`
From ISO C99 standard: »The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature.« Found at <http://www.approxion.com/?p=41>. Change-Id: Iee7878affb2a5d157a94763083689d75e8218b2f Signed-off-by: Jens Rottmann <JRottmann@LiPPERTembedded.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/2474 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/amd/persimmon')
-rw-r--r--src/mainboard/amd/persimmon/platform_cfg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/amd/persimmon/platform_cfg.h b/src/mainboard/amd/persimmon/platform_cfg.h
index 7051e7db73..81593cadc6 100644
--- a/src/mainboard/amd/persimmon/platform_cfg.h
+++ b/src/mainboard/amd/persimmon/platform_cfg.h
@@ -227,7 +227,7 @@
*/
#define GEC_CONFIG 0
-const static CODECENTRY persimmon_codec_alc269[] =
+static const CODECENTRY persimmon_codec_alc269[] =
{
/* NID, PinConfig */
{0x12, 0x411111F0},
@@ -244,7 +244,7 @@ const static CODECENTRY persimmon_codec_alc269[] =
{0xff, 0xffffffff} /* end of table */
};
-const static CODECTBLLIST persimmon_codec_tablelist[] =
+static const CODECTBLLIST persimmon_codec_tablelist[] =
{
{0x010ec0269, (CODECENTRY*)&persimmon_codec_alc269[0]},
{0x0FFFFFFFFUL, (CODECENTRY*)0x0FFFFFFFFUL}