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

Lorenzo Pieralisi posted 5 patches 1 month, 4 weeks ago
[PATCH v4 3/5] of/irq: Export of_msi_xlate() for module usage
Posted by Lorenzo Pieralisi 1 month, 4 weeks ago
of_msi_xlate() is required by drivers that can be configured
as modular, export the symbol.

Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
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 ee7d5f0842e8..1cd93549d093 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -733,6 +733,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
Re: [PATCH v4 3/5] of/irq: Export of_msi_xlate() for module usage
Posted by Rob Herring 1 month, 4 weeks ago
On Tue, Oct 21, 2025 at 02:41:01PM +0200, Lorenzo Pieralisi wrote:
> of_msi_xlate() is required by drivers that can be configured
> as modular, export the symbol.
> 
> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
> Reviewed-by: Frank Li <Frank.Li@nxp.com>
> Cc: Rob Herring <robh@kernel.org>
> ---
>  drivers/of/irq.c | 1 +
>  1 file changed, 1 insertion(+)

I guess just iproc needs this, so:

Acked-by: Rob Herring (Arm) <robh@kernel.org>