From: Sinan Kaya Date: Fri, 7 Oct 2016 05:25:08 +0000 (-0400) Subject: of: irq: make of_msi_configure accessible from modules X-Git-Tag: v4.10-rc1~108^2~2^2~11 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5282c181662c4cef4823cc16b4641d147c52144f;p=karo-tx-linux.git 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 Signed-off-by: Sinan Kaya Signed-off-by: Vinod Koul --- 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);