From 824e192809e021b3cdee947a44b3a18d276bdb35 Mon Sep 17 00:00:00 2001 From: Jens Rottmann Date: Wed, 20 Feb 2013 21:24:20 +0100 Subject: Persimmon: platform_cfg.h: Declare codec arrays as `static const` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 . Change-Id: Iee7878affb2a5d157a94763083689d75e8218b2f Signed-off-by: Jens Rottmann Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/2474 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/amd/persimmon/platform_cfg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/amd/persimmon/platform_cfg.h') 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} -- cgit v1.2.3