Skip to contentSkip to conversation

of: irq: Export of_msi_get_domain

PATCH In review Peter Ujfalusi 2 participants 2 messages Jan 22, 2020 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of: irq: Export of_msi_get_domain

From: Matthias Brugger <[email protected]>

Export of_mis_get_domain to enable it for users from outside.

---
Hi Rob, Matthias,

I needed to resort to remove module build support for the new ringacc UDMA drivers (now they are in next-20200122) due to the fact that of_msi_get_domain() is not having the EXPORT_SYMBOL_GPL() which is used by both drivers.

I have found this old patch in lkml, but can not see the history of why it is not applied.

Regards,
Peter

 drivers/of/irq.c | 1 +
 1 file changed, 1 insertion(+)
drivers/of/irq.c +1 -0
index a296eaf52a5b..73017506ef00 100644
@@ -673,6 +673,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
Signature · 4 lines
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
#1 lore raw
Quoted 10 lines · Peter Ujfalusi

From: Matthias Brugger <[email protected]>

Export of_mis_get_domain to enable it for users from outside.

---
Hi Rob, Matthias,

Quoted 6 lines

I needed to resort to remove module build support for the new ringacc UDMA drivers (now they are in next-20200122) due to the fact that of_msi_get_domain() is not having the EXPORT_SYMBOL_GPL() which is used by both drivers.

I have found this old patch in lkml, but can not see the history of why it is not applied.

The series it was part of was abandoned. The itself shouldn't have an issue.

Regards,
Matthias

Quoted 20 lines

Regards,
Peter

 drivers/of/irq.c | 1 +
 1 file changed, 1 insertion(+)
drivers/of/irq.c +1 -0
index a296eaf52a5b..73017506ef00 100644
@@ -673,6 +673,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