aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/pmutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/braswell/pmutil.c')
-rw-r--r--src/soc/intel/braswell/pmutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/braswell/pmutil.c b/src/soc/intel/braswell/pmutil.c
index 85384a6120..8dbb499202 100644
--- a/src/soc/intel/braswell/pmutil.c
+++ b/src/soc/intel/braswell/pmutil.c
@@ -44,7 +44,7 @@ static struct device *pcu_dev;
static struct device *get_pcu_dev(void)
{
if (pcu_dev == NULL)
- pcu_dev = dev_find_slot(0, PCI_DEVFN(PCU_DEV, 0));
+ pcu_dev = pcidev_on_root(PCU_DEV, 0);
return pcu_dev;
}
#endif /* ENV_SMM */