PCI: expose pcie_link_speed and pcix_bus_speed arrays
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 31 Jul 2013 06:53:16 +0000 (06:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 Jul 2013 01:16:36 +0000 (18:16 -0700)
commit343e51ae6e3f64ed26d96f5560f4962529794c9f
tree76286fac3175401ebc777c341ed56c169b3f8920
parenta4b6fc6bc61e6aeb24af73c5b195a6aec27d88ff
PCI: expose pcie_link_speed and pcix_bus_speed arrays

pcie_link_speed and pcix_bus_speed are arrays used by probe.c to correctly
convert lnksta register values into the pci_bus_speed enum. These static arrays
are useful outside probe for this purpose. This patch makes these defines into
conist arrays and exposes them with an extern header in drivers/pci/pci.h

-v2-
* move extern declarations to drivers/pci/pci.h

CC: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/pci/pci.h
drivers/pci/probe.c