Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1445727

[PATCH 03/10] of: irq: make of_msi_configure accessible from modules

From Sinan Kaya <okaya@codeaurora.org>
Newsgroups linux.kernel
Subject [PATCH 03/10] of: irq: make of_msi_configure accessible from modules
Date 2016-07-18 20:50 +0200
Message-ID <rWlM7-1sH-55@gated-at.bofh.it> (permalink)
References <rWlCq-1nW-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
---
 drivers/of/irq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index 6ec743f..d84b323 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -762,3 +762,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);
-- 
1.8.2.1

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 03/10] of: irq: make of_msi_configure accessible from modules Sinan Kaya <okaya@codeaurora.org> - 2016-07-18 20:50 +0200
  Re: [PATCH 03/10] of: irq: make of_msi_configure accessible from modules Rob Herring <robh+dt@kernel.org> - 2016-07-18 23:30 +0200
    Re: [PATCH 03/10] of: irq: make of_msi_configure accessible from  modules Sinan Kaya <okaya@codeaurora.org> - 2016-07-19 23:50 +0200

csiph-web