OSDN Git Service

PCI: Export pcie_get_speed_cap and pcie_get_width_cap
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jun 2018 18:17:41 +0000 (13:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:39:59 +0000 (16:39 -0500)
commit576c7218a1546e0153480b208b125509cec71470
tree19ff8f3656415af949679d4c03b6038251d534d0
parent8eaf2b1faaf4358c6337785f2192055c6ef41e0d
PCI: Export pcie_get_speed_cap and pcie_get_width_cap

So drivers can use them.  This can be used to replace
duplicate code in the drm subsystem.

Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/pci/pci.c
include/linux/pci.h