summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2024-11-25 13:40:55 -0600
committerBjorn Helgaas <bhelgaas@google.com>2024-11-25 13:40:55 -0600
commitefcbd9d3975f03c600f42a018f2453f2957042ad (patch)
tree5868451ee0cff58e62011eb9c1bc082c2bf18eb9 /include
parentc03d361c2036f3289a45834fce8372864a4576b3 (diff)
parent3b96b895127b7c0aed63d82c974b46340e8466c1 (diff)
downloadlinux-efcbd9d3975f03c600f42a018f2453f2957042ad.tar.gz
linux-efcbd9d3975f03c600f42a018f2453f2957042ad.tar.bz2
linux-efcbd9d3975f03c600f42a018f2453f2957042ad.zip
Merge branch 'pci/thunderbolt'
- Detect some Thunderbolt chips that are built-in and hence 'trustworthy' by a heuristic since the 'ExternalFacingPort' and 'usb4-host-interface' ACPI properties are not quite enough (Esther Shimanovich) * pci/thunderbolt: PCI: Detect and trust built-in Thunderbolt chips
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index e41032dd12a5..5db9b0b2dca1 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -2606,6 +2606,12 @@ pci_host_bridge_acpi_msi_domain(struct pci_bus *bus) { return NULL; }
static inline bool pci_pr3_present(struct pci_dev *pdev) { return false; }
#endif
+#if defined(CONFIG_X86) && defined(CONFIG_ACPI)
+bool arch_pci_dev_is_removable(struct pci_dev *pdev);
+#else
+static inline bool arch_pci_dev_is_removable(struct pci_dev *pdev) { return false; }
+#endif
+
#ifdef CONFIG_EEH
static inline struct eeh_dev *pci_dev_to_eeh_dev(struct pci_dev *pdev)
{