diff mbox series

of: irq: Export of_msi_get_domain

Message ID 20220812174420.2706827-1-khilman@baylibre.com
State Not Applicable, archived
Headers show
Series of: irq: Export of_msi_get_domain | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 7 lines checked
robh/patch-applied fail build log

Commit Message

Kevin Hilman Aug. 12, 2022, 5:44 p.m. UTC
From: Matthias Brugger <matthias.bgg@gmail.com>

Export of_mis_get_domain to enable it for users from outside.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200122104723.16955-1-peter.ujfalusi@ti.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
---
Peter tried to resurrect this in 2020 (c.f. Link tag in log) but it
didn't work.  Here's one more attempt.  I need this enable building
some TI DMA drivers as modules.

 drivers/of/irq.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring Aug. 12, 2022, 6:09 p.m. UTC | #1
On Fri, Aug 12, 2022 at 11:44 AM Kevin Hilman <khilman@baylibre.com> wrote:
>
> From: Matthias Brugger <matthias.bgg@gmail.com>
>
> Export of_mis_get_domain to enable it for users from outside.

typo

>
> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
> Acked-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> Link: https://lore.kernel.org/r/20200122104723.16955-1-peter.ujfalusi@ti.com
> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
> ---
> Peter tried to resurrect this in 2020 (c.f. Link tag in log) but it
> didn't work.  Here's one more attempt.  I need this enable building
> some TI DMA drivers as modules.

Then apply this with that enabling. I've already acked it (which keeps
it out of my queue, so drop that if you want to ensure I see it).

Rob
diff mbox series

Patch

diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index d22f605fa7ee..c9308baa32c5 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -727,6 +727,7 @@  struct irq_domain *of_msi_get_domain(struct device *dev,
 
 	return NULL;
 }
+EXPORT_SYMBOL_GPL(of_msi_get_domain);
 
 /**
  * of_msi_configure - Set the msi_domain field of a device