summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/acpi.c')
-rw-r--r--src/soc/intel/broadwell/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/broadwell/acpi.c b/src/soc/intel/broadwell/acpi.c
index 25867c5677..705bc0089e 100644
--- a/src/soc/intel/broadwell/acpi.c
+++ b/src/soc/intel/broadwell/acpi.c
@@ -386,12 +386,12 @@ static void generate_T_state_entries(int core, int cores_per_package)
static void generate_C_state_entries(void)
{
- struct device *dev = SA_DEV_ROOT;
- config_t *config = dev->chip_info;
acpi_cstate_t map[3];
int *set;
int i;
+ config_t *config = config_of_path(SA_DEVFN_ROOT);
+
if (config->s0ix_enable)
set = cstate_set_s0ix;
else