diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-06-04 22:16:09 -0400 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-06-29 20:06:07 -0500 |
commit | 11eb0e0e8dea8b97cff972b09cf6fb033b729dff (patch) | |
tree | 84ca9d5c2ae77c4bb21984c68469b75c37eb80ad /drivers/pci/pci.h | |
parent | b1277a226d8c519b8c33e23fe68b4e1658f15963 (diff) | |
download | linux-rt-11eb0e0e8dea8b97cff972b09cf6fb033b729dff.tar.gz |
PCI: Make early dump functionality generic
Move early dump functionality into common code so that it is available for
all architectures. No need to carry arch-specific reads around as the read
hooks are already initialized by the time pci_setup_device() is getting
called during scan.
Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index c358e7a07f3f..c33265e02c3a 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -7,6 +7,7 @@ #define PCI_VSEC_ID_INTEL_TBT 0x1234 /* Thunderbolt */ extern const unsigned char pcie_link_speed[]; +extern bool pci_early_dump; bool pcie_cap_has_lnkctl(const struct pci_dev *dev); |