2022-08-12 17:54:54

by Kevin Hilman

[permalink] [raw]
Subject: [PATCH] of: irq: Export of_msi_get_domain

From: Matthias Brugger <[email protected]>

Export of_mis_get_domain to enable it for users from outside.

Signed-off-by: Matthias Brugger <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kevin Hilman <[email protected]>
---
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(+)

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
--
2.34.0


2022-08-12 18:24:15

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] of: irq: Export of_msi_get_domain

On Fri, Aug 12, 2022 at 11:44 AM Kevin Hilman <[email protected]> wrote:
>
> From: Matthias Brugger <[email protected]>
>
> Export of_mis_get_domain to enable it for users from outside.

typo

>
> Signed-off-by: Matthias Brugger <[email protected]>
> Acked-by: Rob Herring <[email protected]>
> Signed-off-by: Peter Ujfalusi <[email protected]>
> Link: https://lore.kernel.org/r/[email protected]
> Signed-off-by: Kevin Hilman <[email protected]>
> ---
> 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

2022-08-16 17:48:52

by Kevin Hilman

[permalink] [raw]
Subject: Re: [PATCH] of: irq: Export of_msi_get_domain

Rob Herring <[email protected]> writes:

> On Fri, Aug 12, 2022 at 11:44 AM Kevin Hilman <[email protected]> wrote:
>>
>> From: Matthias Brugger <[email protected]>
>>
>> Export of_mis_get_domain to enable it for users from outside.
>
> typo
>
>>
>> Signed-off-by: Matthias Brugger <[email protected]>
>> Acked-by: Rob Herring <[email protected]>
>> Signed-off-by: Peter Ujfalusi <[email protected]>
>> Link: https://lore.kernel.org/r/[email protected]
>> Signed-off-by: Kevin Hilman <[email protected]>
>> ---
>> 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).

OK.

I assumed you'd want to take this through your tree, but if you're OK
with it getting merged with the series using it, I'll do that.

Thanks,

Kevin