diff options
| author | Manivannan Sadhasivam <[email protected]> | 2025-05-08 07:10:32 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-05-30 17:21:57 +0000 |
| commit | d1c696dba120624256ab335ab8247f535b872309 (patch) | |
| tree | c60b5a2bbfca477bbca0af76c6be9c083c4194e2 /drivers/pci/controller/pcie-apple.c | |
| parent | PCI: cadence: Simplify J721e link status check (diff) | |
| download | kernel-d1c696dba120624256ab335ab8247f535b872309.tar.gz kernel-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 <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Krzysztof WilczyĆski <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/pcie-apple.c')
| -rw-r--r-- | drivers/pci/controller/pcie-apple.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/controller/pcie-apple.c b/drivers/pci/controller/pcie-apple.c index 18e11b9a7f46..edd4c8c683c6 100644 --- a/drivers/pci/controller/pcie-apple.c +++ b/drivers/pci/controller/pcie-apple.c @@ -29,6 +29,8 @@ #include <linux/of_irq.h> #include <linux/pci-ecam.h> +#include "pci-host-common.h" + #define CORE_RC_PHYIF_CTL 0x00024 #define CORE_RC_PHYIF_CTL_RUN BIT(0) #define CORE_RC_PHYIF_STAT 0x00028 |
