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>
This commit is contained in:
parent
3138bb875c
commit
824e192809
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue