diff options
author | Kelsey Skunberg <skunberg.kelsey@gmail.com> | 2019-07-24 17:38:44 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-07-30 08:45:52 -0500 |
commit | 5da78d95785daa9454336a88b2f86a8998f6c739 (patch) | |
tree | 2f9d4c5a67eb25d4e9f1e4ea02132f19714f246b /include/linux/pci.h | |
parent | ecd29c1a38af4ba6e61382591dfe93f06f14ba25 (diff) |
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 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 4d1b6f07f8f1..8301352a937f 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -987,7 +987,6 @@ struct pci_bus *pci_scan_root_bus(struct device *parent, int bus, int pci_scan_root_bus_bridge(struct pci_host_bridge *bridge); struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int busnr); -void pcie_update_link_speed(struct pci_bus *bus, u16 link_status); struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, const char *name, struct hotplug_slot *hotplug); |