summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/pmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/icelake/pmc.c')
-rw-r--r--src/soc/intel/icelake/pmc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/icelake/pmc.c b/src/soc/intel/icelake/pmc.c
index d98c83ecdb..b1c66b9efc 100644
--- a/src/soc/intel/icelake/pmc.c
+++ b/src/soc/intel/icelake/pmc.c
@@ -135,8 +135,7 @@ static void pch_power_options(void)
static void pmc_init(void *unused)
{
- struct device *dev = SA_DEV_ROOT;
- config_t *config = dev->chip_info;
+ config_t *config = config_of_path(SA_DEVFN_ROOT);
rtc_init();