[PATCH v3 3/5] of/irq: Export of_msi_xlate() for module usage

From
Lorenzo Pieralisi <lpieralisi@kernel.org>
Date
2025-10-17 08:48:12
Also in
linux-devicetree, linux-pci, lkml
Reply to
Lorenzo Pieralisi, 2025-10-17
of_msi_xlate() is required by drivers that can be configured
as modular, export the symbol.

Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Rob Herring <robh@kernel.org>
---
 drivers/of/irq.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index 9f6cd5abba76..889d0dfbcb3f 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -732,6 +732,7 @@ u32 of_msi_xlate(struct device *dev, struct device_node **msi_np, u32 id_in)
 	}
 	return id_out;
 }
+EXPORT_SYMBOL_GPL(of_msi_xlate);
 
 /**
  * of_msi_map_get_device_domain - Use msi-map to find the relevant MSI domain
-- 
2.50.1

Thread (9 messages) 9 messages, 3 authors, last reply 2025-10-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help