From 7fd39ffbddedf86f22b1c05b49d9ee35073ec348 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 14 Jan 2023 20:09:52 +0100 Subject: [PATCH] soc/intel/apollolake/pmutil.c: Fix smi_sts_bits[HSMBUS_SMI_STS_BIT] Found using -Woverride-init command option. Change-Id: I9f0755de9fae678fc5d78a709453fd1098d70e50 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/71893 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes Reviewed-by: Subrata Banik --- src/soc/intel/apollolake/pmutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c index a7b63db036..41f806fc53 100644 --- a/src/soc/intel/apollolake/pmutil.c +++ b/src/soc/intel/apollolake/pmutil.c @@ -56,7 +56,7 @@ const char *const *soc_smi_sts_array(size_t *a) [SERIRQ_SMI_STS_BIT] = "SERIRQ", [SMBUS_SMI_STS_BIT] = "SMBUS_SMI", [XHCI_SMI_STS_BIT] = "XHCI", - [SCS_SMI_STS_BIT] = "HOST_SMBUS", + [HSMBUS_SMI_STS_BIT] = "HOST_SMBUS", [SCS_SMI_STS_BIT] = "SCS", [PCI_EXP_SMI_STS_BIT] = "PCI_EXP_SMI", [SCC2_SMI_STS_BIT] = "SCC2",