diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index da172f956ad6..ee0f3b60af22 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -1749,11 +1749,11 @@ static inline int pci_pcie_cap(struct pci_dev *dev) | |||
| 1749 | * pci_is_pcie - check if the PCI device is PCI Express capable | 1749 | * pci_is_pcie - check if the PCI device is PCI Express capable |
| 1750 | * @dev: PCI device | 1750 | * @dev: PCI device |
| 1751 | * | 1751 | * |
| 1752 | * Retrun true if the PCI device is PCI Express capable, false otherwise. | 1752 | * Returns: true if the PCI device is PCI Express capable, false otherwise. |
| 1753 | */ | 1753 | */ |
| 1754 | static inline bool pci_is_pcie(struct pci_dev *dev) | 1754 | static inline bool pci_is_pcie(struct pci_dev *dev) |
| 1755 | { | 1755 | { |
| 1756 | return !!pci_pcie_cap(dev); | 1756 | return pci_pcie_cap(dev); |
| 1757 | } | 1757 | } |
| 1758 | 1758 | ||
| 1759 | /** | 1759 | /** |
