PCI: Unify pcie_link_speed and pci_bus_speed
commit536c8cb49eccd4f753b4782e7e975ef87359cb44
authorMatthew Wilcox <matthew@wil.cx>
Sun, 13 Dec 2009 13:11:31 +0000 (13 08:11 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:15:17 +0000 (22 16:15 -0800)
tree1cc2a32b17e4eb1fc4c9b64dc4895892a2fd3d41
parentf07852d6442c46c50b59c7e2acc8a1b291f9ab6d
PCI: Unify pcie_link_speed and pci_bus_speed

These enums must not overlap anyway, since we only have a single
pci_bus_speed_strings array.  Use a single enum, and move it to
pci.h.  Add 'SPEED' to the pcie names to make it clear what they are.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_hpc.c
include/linux/pci.h
include/linux/pci_hotplug.h