diff options
author | 2025-05-08 12:40:32 +0530 | |
---|---|---|
committer | 2025-05-30 12:21:57 -0500 | |
commit | d1c696dba120624256ab335ab8247f535b872309 (patch) | |
tree | c60b5a2bbfca477bbca0af76c6be9c083c4194e2 /include/linux/pci-ecam.h | |
parent | PCI: cadence: Simplify J721e link status check (diff) | |
download | wireguard-linux-d1c696dba120624256ab335ab8247f535b872309.tar.xz wireguard-linux-d1c696dba120624256ab335ab8247f535b872309.zip |
PCI: host-common: Convert to library for host controller drivers
This common library will be used as a placeholder for helper functions
shared by the host controller drivers. This avoids placing the host
controller drivers specific helpers in drivers/pci/*.c, to avoid enlarging
the kernel image on platforms that do not use host controller drivers at
all (like x86/ACPI platforms).
Suggested-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250508-pcie-reset-slot-v4-3-7050093e2b50@linaro.org
Diffstat (limited to '')
-rw-r--r-- | include/linux/pci-ecam.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/pci-ecam.h b/include/linux/pci-ecam.h index 3a10f8cfc3ad..d930651473b4 100644 --- a/include/linux/pci-ecam.h +++ b/include/linux/pci-ecam.h @@ -93,10 +93,4 @@ extern const struct pci_ecam_ops al_pcie_ops; /* Amazon Annapurna Labs PCIe */ extern const struct pci_ecam_ops tegra194_pcie_ops; /* Tegra194 PCIe */ extern const struct pci_ecam_ops loongson_pci_ecam_ops; /* Loongson PCIe */ #endif - -#if IS_ENABLED(CONFIG_PCI_HOST_COMMON) -/* for DT-based PCI controllers that support ECAM */ -int pci_host_common_probe(struct platform_device *pdev); -void pci_host_common_remove(struct platform_device *pdev); -#endif #endif |