summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/nhlt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/nhlt.c')
-rw-r--r--src/soc/intel/common/nhlt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/nhlt.c b/src/soc/intel/common/nhlt.c
index 5d916ab7e4..099be5d8bd 100644
--- a/src/soc/intel/common/nhlt.c
+++ b/src/soc/intel/common/nhlt.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <cbmem.h>
+#include <acpi/acpi_gnvs.h>
#include <nhlt.h>
#include <soc/nvs.h>
@@ -15,7 +15,7 @@ uintptr_t nhlt_soc_serialize_oem_overrides(struct nhlt *nhlt,
{
global_nvs_t *gnvs;
- gnvs = cbmem_find(CBMEM_ID_ACPI_GNVS);
+ gnvs = acpi_get_gnvs();
if (gnvs == NULL)
return acpi_addr;