summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2016-10-07 01:25:08 -0400
committerVinod Koul <vinod.koul@intel.com>2016-10-19 19:02:58 +0530
commit5282c181662c4cef4823cc16b4641d147c52144f (patch)
treefb6144e502842e0ec536bc264434c331da9afed6 /drivers/of
parent13af1c8c1608e8944b5197264b7c24b7d760e414 (diff)
of: irq: make of_msi_configure accessible from modules
The of_msi_configure routine is only accessible by the built-in kernel drivers. Export this function so that modules can use it too. This function is useful for configuring MSI on child device tree nodes on hierarchical objects. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index 393fea85eb4e..3fda9a32defb 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -697,3 +697,4 @@ void of_msi_configure(struct device *dev, struct device_node *np)
dev_set_msi_domain(dev,
of_msi_get_domain(dev, np, DOMAIN_BUS_PLATFORM_MSI));
}
+EXPORT_SYMBOL_GPL(of_msi_configure);