summaryrefslogtreecommitdiff
path: root/drivers/pci/pci_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/pci_common.c')
-rw-r--r--drivers/pci/pci_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci_common.c b/drivers/pci/pci_common.c
index 6526de80db..faf25d96cb 100644
--- a/drivers/pci/pci_common.c
+++ b/drivers/pci/pci_common.c
@@ -89,7 +89,7 @@ __weak int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev)
/*
* Only skip configuration if "pciconfighost" is not set
*/
- if (getenv("pciconfighost") == NULL)
+ if (env_get("pciconfighost") == NULL)
return 1;
#else
return 1;