summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/i82801gx/pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801gx/pcie.c b/src/southbridge/intel/i82801gx/pcie.c
index 4679ee58f8..9446527c7b 100644
--- a/src/southbridge/intel/i82801gx/pcie.c
+++ b/src/southbridge/intel/i82801gx/pcie.c
@@ -195,7 +195,7 @@ static void root_port_commit_config(struct device *dev)
pcie_dev = rpc.ports[i];
- if (dev == NULL) {
+ if (pcie_dev == NULL) {
printk(BIOS_ERR, "Root Port %d device is NULL?\n",
i + 1);
continue;