summaryrefslogtreecommitdiffstats
path: root/src/device/cardbus_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/cardbus_device.c')
-rw-r--r--src/device/cardbus_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/cardbus_device.c b/src/device/cardbus_device.c
index 23f24ddb790b..2eb070e7e1ea 100644
--- a/src/device/cardbus_device.c
+++ b/src/device/cardbus_device.c
@@ -119,7 +119,7 @@ void cardbus_enable_resources(struct device *dev)
u16 ctrl;
ctrl = pci_read_config16(dev, PCI_CB_BRIDGE_CONTROL);
- ctrl |= (dev->link_list->bridge_ctrl & (
+ ctrl |= (dev->downstream->bridge_ctrl & (
PCI_BRIDGE_CTL_VGA |
PCI_BRIDGE_CTL_MASTER_ABORT |
PCI_BRIDGE_CTL_BUS_RESET));