PCI: thunder-pem: Add constant for custom ".bus_shift" initialiser
authorKrzysztof Wilczyński <kw@linux.com>
Sun, 29 Nov 2020 23:07:40 +0000 (23:07 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Dec 2020 20:55:55 +0000 (14:55 -0600)
commit31a8cdb7ef8042a63fcb2ae3856df28af15abc8f
tree01bfc7b8d1173555721cd13ec9803c10c9e88232
parente7708f5b10e205d6291bb495e645a03553b9768b
PCI: thunder-pem: Add constant for custom ".bus_shift" initialiser

Add a custom constant for the ".bus_shift" initialiser to capture a
non-standard platform-specific ECAM bus shift value.

Standard values otherwise defined in the PCI Express Specification are
available in the include/linux/pci-ecam.h.

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20201129230743.3006978-3-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pci-thunder-pem.c