aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/purism
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-14 05:50:20 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-18 15:24:07 +0000
commit4af4e7f06eddad71f86eda3e401967e79d3a9ddb (patch)
tree568f515b03d889441084381559068b9d0b709550 /src/mainboard/purism
parent28dc7dce83131cdd54cad5b338af2f4b89d8969b (diff)
soc/intel: Fix invalid use of 'static'
Just keep the variables on the stack. Change-Id: I36b29d8fb7dac159b29609033cba450bea9adf77 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34326 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/purism')
-rw-r--r--src/mainboard/purism/librem_skl/hda_verb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/purism/librem_skl/hda_verb.c b/src/mainboard/purism/librem_skl/hda_verb.c
index c0de990d80..206af8db7e 100644
--- a/src/mainboard/purism/librem_skl/hda_verb.c
+++ b/src/mainboard/purism/librem_skl/hda_verb.c
@@ -40,7 +40,7 @@ static void codecs_init(u8 *base, u32 codec_mask)
static void mb_hda_codec_init(void *unused)
{
- static struct soc_intel_skylake_config *config;
+ struct soc_intel_skylake_config *config;
u8 *base;
struct resource *res;
u32 codec_mask;