From 0117e4eae3ea8d72c24a013ecd5cf3ff510a258c Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 13 Oct 2020 23:34:27 +0200 Subject: nb/intel/haswell: Constify pointers to strings Jenkins complains about it. Change-Id: I20abdd01ca2b93e8a4de31664ff48651e7268d25 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/46368 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/northbridge/intel/haswell/raminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge/intel/haswell') diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c index 7fd6b3f83e..fbe4cd5d2c 100644 --- a/src/northbridge/intel/haswell/raminit.c +++ b/src/northbridge/intel/haswell/raminit.c @@ -51,7 +51,7 @@ static void prepare_mrc_cache(struct pei_data *pei_data) pei_data->mrc_input, mrc_size); } -static const char *ecc_decoder[] = { +static const char *const ecc_decoder[] = { "inactive", "active on IO", "disabled on IO", -- cgit v1.2.3