diff options
author | Kelsey Skunberg <skunberg.kelsey@gmail.com> | 2019-07-25 02:38:44 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-07-30 16:45:52 +0300 |
commit | 5da78d95785daa9454336a88b2f86a8998f6c739 (patch) | |
tree | 2f9d4c5a67eb25d4e9f1e4ea02132f19714f246b /drivers/pci/pci.h | |
parent | ecd29c1a38af4ba6e61382591dfe93f06f14ba25 (diff) | |
download | linux-5da78d95785daa9454336a88b2f86a8998f6c739.tar.xz |
PCI: Make pcie_update_link_speed() private
This interface:
void pcie_update_link_speed(struct pci_bus *bus, u16 link_status);
is only used in drivers/pci/ and does not need to be seen by the rest of
the kernel. Move it to drivers/pci/pci.h so it's private to the PCI
subsystem.
Link: https://lore.kernel.org/r/20190724233848.73327-8-skunberg.kelsey@gmail.com
Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.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 81e94c9f1c12..8459663358c5 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -299,6 +299,7 @@ u32 pcie_bandwidth_capable(struct pci_dev *dev, enum pci_bus_speed *speed, enum pcie_link_width *width); void __pcie_print_link_status(struct pci_dev *dev, bool verbose); void pcie_report_downtraining(struct pci_dev *dev); +void pcie_update_link_speed(struct pci_bus *bus, u16 link_status); /* Single Root I/O Virtualization */ struct pci_sriov { |