linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: dwc: EXPORT dw_pcie_allocate_domains
@ 2025-05-26 10:42 Samiksha Garg
  2025-05-26 11:20 ` Manivannan Sadhasivam
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Samiksha Garg @ 2025-05-26 10:42 UTC (permalink / raw)
  To: jingoohan1, manivannan.sadhasivam
  Cc: ajayagarwal, maurora, linux-pci, manugautam, Samiksha Garg

Some vendor drivers need to write their own `msi_init` while
still utilizing `dw_pcie_allocate_domains` method to allocate
IRQ domains. Export the function for this purpose.

Signed-off-by: Samiksha Garg <samikshagarg@google.com>
---
 drivers/pci/controller/dwc/pcie-designware-host.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc/pcie-designware-host.c
index ecc33f6789e3..5b949547f917 100644
--- a/drivers/pci/controller/dwc/pcie-designware-host.c
+++ b/drivers/pci/controller/dwc/pcie-designware-host.c
@@ -249,6 +249,7 @@ int dw_pcie_allocate_domains(struct dw_pcie_rp *pp)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(dw_pcie_allocate_domains);
 
 static void dw_pcie_free_msi(struct dw_pcie_rp *pp)
 {
-- 
2.49.0.1151.ga128411c76-goog


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-05-28  3:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26 10:42 [PATCH] PCI: dwc: EXPORT dw_pcie_allocate_domains Samiksha Garg
2025-05-26 11:20 ` Manivannan Sadhasivam
2025-05-26 16:04   ` Samiksha Garg
2025-05-28  3:45     ` Manivannan Sadhasivam
2025-05-26 16:26 ` Hans Zhang
2025-05-26 16:29 ` Hans Zhang
2025-05-27  4:42   ` Samiksha Garg
2025-05-27  5:49     ` Hans Zhang
2025-05-27  8:09       ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).