mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
PCI: Drop duplicate pcie_get_speed_cap(), pcie_get_width_cap() declarations
6cf57be0f7("PCI: Add pcie_get_speed_cap() to find max supported link speed") andc70b65fb7f("PCI: Add pcie_get_width_cap() to find max supported link width") added declarations to drivers/pci/pci.h.576c7218a1("PCI: Export pcie_get_speed_cap and pcie_get_width_cap") subsequently added duplicates to include/linux/pci.h. Remove the originals from drivers/pci/pci.h. Both interfaces are used by amdgpu, so they must be in include/linux/pci.h. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Krzysztof Wilczyński <kw@linux.com>
This commit is contained in:
parent
838f12c3d5
commit
ba58eee1c5
1 changed files with 0 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue