From: Kenji Kaneshige Date: Wed, 11 Nov 2009 05:35:22 +0000 (+0900) Subject: PCI: introduce pci_is_pcie() X-Git-Tag: v2.6.33-rc1~321^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eb776c42e75d17bd8107a1359068d8c742639d1;p=pandora-kernel.git PCI: introduce pci_is_pcie() Introduce pci_is_pcie() which returns true if the specified PCI device is PCI Express capable, false otherwise. The purpose of pci_is_pcie() is removing 'is_pcie' flag in the struct pci_dev, which is not needed because we can check it using 'pcie_cap' field. To remove 'is_pcie', we need to update user of 'is_pcie' to use pci_is_pcie() instead first. Signed-off-by: Kenji Kaneshige Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed