Skip to content

Commit 5aa84c0

Browse files
PCI: dwc: Export dw_pcie_allocate_domains() and dw_pcie_ep_raise_msix_irq()
The pci-keystone.c driver uses the functions 'dw_pcie_allocate_domains()' and 'dw_pcie_ep_raise_msix_irq()'. Export them in preparation for enabling the pci-keystone.c driver to be built as a loadable module. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20251029080547.1253757-3-s-vadapalli@ti.com
1 parent 36640d2 commit 5aa84c0

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/pci/controller/dwc/pcie-designware-ep.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,7 @@ int dw_pcie_ep_raise_msix_irq(struct dw_pcie_ep *ep, u8 func_no,
797797

798798
return 0;
799799
}
800+
EXPORT_SYMBOL_GPL(dw_pcie_ep_raise_msix_irq);
800801

801802
/**
802803
* dw_pcie_ep_cleanup - Cleanup DWC EP resources after fundamental reset

drivers/pci/controller/dwc/pcie-designware-host.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ int dw_pcie_allocate_domains(struct dw_pcie_rp *pp)
232232

233233
return 0;
234234
}
235+
EXPORT_SYMBOL_GPL(dw_pcie_allocate_domains);
235236

236237
void dw_pcie_free_msi(struct dw_pcie_rp *pp)
237238
{

0 commit comments

Comments
 (0)