PCI: Introduce pci_pcie_type(dev) to replace pci_dev->pcie_type
authorYijing Wang <wangyijing@huawei.com>
Tue, 24 Jul 2012 09:20:03 +0000 (17:20 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 15:40:57 +0000 (09:40 -0600)
Introduce an inline function pci_pcie_type(dev) to extract PCIe
device type from pci_dev->pcie_flags_reg field, and prepare for
removing pci_dev->pcie_type.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found