diff --git a/drivers/pci/access.c b/drivers/pci/access.c index 5278ac692cbf17c07b926fc41fb9ea055fa932a0..1cc23661f79bbefa80e636fd4cbb765148306b80 100644 --- a/drivers/pci/access.c +++ b/drivers/pci/access.c @@ -515,7 +515,7 @@ static bool pcie_capability_reg_implemented(struct pci_dev *dev, int pos) return false; switch (pos) { - case PCI_EXP_FLAGS_TYPE: + case PCI_EXP_FLAGS: return true; case PCI_EXP_DEVCAP: case PCI_EXP_DEVCTL: