[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220812174420.2706827-1-khilman@baylibre.com>
Date: Fri, 12 Aug 2022 10:44:20 -0700
From: Kevin Hilman <khilman@...libre.com>
To: Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
devicetree@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Péter Ujfalusi <peter.ujfalusi@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-omap@...r.kernel.org
Subject: [PATCH] of: irq: Export of_msi_get_domain
From: Matthias Brugger <matthias.bgg@...il.com>
Export of_mis_get_domain to enable it for users from outside.
Signed-off-by: Matthias Brugger <mbrugger@...e.com>
Acked-by: Rob Herring <robh@...nel.org>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
Link: https://lore.kernel.org/r/20200122104723.16955-1-peter.ujfalusi@ti.com
Signed-off-by: Kevin Hilman <khilman@...libre.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(+)
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
Powered by blists - more mailing lists