diff options
| author | 2020-08-20 21:54:17 -0600 | |
|---|---|---|
| committer | 2020-09-10 16:50:53 +0100 | |
| commit | cf854be2d9a34665cbbd40d58409fc868ed476fc (patch) | |
| tree | 26dcf5c1d2777717118147a478a498ac9f286e27 /drivers/pci/controller/dwc/pci-layerscape.c | |
| parent | PCI: dwc/intel-gw: Drop unnecessary checking of DT 'device_type' property (diff) | |
| download | wireguard-linux-cf854be2d9a34665cbbd40d58409fc868ed476fc.tar.xz wireguard-linux-cf854be2d9a34665cbbd40d58409fc868ed476fc.zip | |
PCI: dwc/intel-gw: Move getting PCI_CAP_ID_EXP offset to intel_pcie_link_setup()
The PCI_CAP_ID_EXP offset is only needed by intel_pcie_link_setup(), so
let's retrieve it there and avoid storing the offset.
Link: https://lore.kernel.org/r/20200821035420.380495-38-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Dilip Kota <eswara.kota@linux.intel.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions
