summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-02-16 01:44:19 +0100
committerBjorn Helgaas <bhelgaas@google.com>2013-02-16 01:44:19 +0100
commitfd5e20bcb465e8d69a6fda617a7b35fb5f8d4eb1 (patch)
tree8d54af1fb3aea5beb65582eb1a6626bc3563806a /drivers/pci
parentMerge branch 'pci/jiang-pci_slot-kconfig' into next (diff)
parentPCI: Fix PCI Express Capability accessors for PCI_EXP_FLAGS (diff)
downloadlinux-fd5e20bcb465e8d69a6fda617a7b35fb5f8d4eb1.tar.xz
linux-fd5e20bcb465e8d69a6fda617a7b35fb5f8d4eb1.zip
Merge branch 'pci/misc' into next
* pci/misc: PCI: Fix PCI Express Capability accessors for PCI_EXP_FLAGS
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/access.c b/drivers/pci/access.c
index 5278ac692cbf..1cc23661f79b 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: