summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/nvidia')
-rw-r--r--src/southbridge/nvidia/ck804/pci.c2
-rw-r--r--src/southbridge/nvidia/mcp55/pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/nvidia/ck804/pci.c b/src/southbridge/nvidia/ck804/pci.c
index c29ed100f6..51fb7cd261 100644
--- a/src/southbridge/nvidia/ck804/pci.c
+++ b/src/southbridge/nvidia/ck804/pci.c
@@ -52,7 +52,7 @@ static void pci_init(struct device *dev)
pci_domain_dev = dev->bus->dev;
while (pci_domain_dev) {
- if (pci_domain_dev->path.type == DEVICE_PATH_PCI_DOMAIN)
+ if (pci_domain_dev->path.type == DEVICE_PATH_DOMAIN)
break;
pci_domain_dev = pci_domain_dev->bus->dev;
}
diff --git a/src/southbridge/nvidia/mcp55/pci.c b/src/southbridge/nvidia/mcp55/pci.c
index 2ea7daf3de..d2700d17da 100644
--- a/src/southbridge/nvidia/mcp55/pci.c
+++ b/src/southbridge/nvidia/mcp55/pci.c
@@ -58,7 +58,7 @@ static void pci_init(struct device *dev)
pci_domain_dev = dev->bus->dev;
while (pci_domain_dev) {
- if (pci_domain_dev->path.type == DEVICE_PATH_PCI_DOMAIN)
+ if (pci_domain_dev->path.type == DEVICE_PATH_DOMAIN)
break;
pci_domain_dev = pci_domain_dev->bus->dev;
}