PCI: xgene: Define XGENE_PCI_EXP_CAP and use generic PCI_EXP_RTCTL offset
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 5 Sep 2017 17:58:03 +0000 (12:58 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 7 Sep 2017 13:52:43 +0000 (08:52 -0500)
commit582ffae852400264b189da7dca9a5212dd3dab01
tree3afb28f05a2e8e99e39bae7dc0d21a8d0ab87441
parentc7aca96aa48d59b08763452cf1881b7411876c59
PCI: xgene: Define XGENE_PCI_EXP_CAP and use generic PCI_EXP_RTCTL offset

Apparently the PCIe capability is at address 0x40 in config space of X-Gene
v1 Root Ports.  Add a definition of that and use the generic PCI_EXP_RTCTL
offset into the capability.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-xgene.c