All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] of: Export of_irq_count for using in modules
@ 2013-05-30 13:49 ` Michal Simek
  0 siblings, 0 replies; 21+ messages in thread
From: Michal Simek @ 2013-05-30 13:49 UTC (permalink / raw)
  To: linux-kernel
  Cc: Michal Simek, Michal Simek, Thomas Petazzoni, Grant Likely,
	Rob Herring, devicetree-discuss

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

Export of_irq_count for modules.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
We are using this function in remoteproc module drivers.
There is also drivers/gpio/gpio-mvebu.c in the tree
which use this function but this driver can't be compiled
as module. This could be also the reason why is not this driver as module.
---
 drivers/of/irq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index a3c1c5a..c918dde 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -374,6 +374,7 @@ int of_irq_count(struct device_node *dev)

 	return nr;
 }
+EXPORT_SYMBOL_GPL(of_irq_count);

 /**
  * of_irq_to_resource_table - Fill in resource table with node's IRQ info
--
1.8.2.3


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2013-07-18  7:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-30 13:49 [PATCH] of: Export of_irq_count for using in modules Michal Simek
2013-05-30 13:49 ` Michal Simek
2013-05-30 20:17 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-30 20:17   ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-31  8:14   ` Michal Simek
2013-05-31  8:14     ` Michal Simek
2013-05-31 11:00     ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-31 11:00       ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-31 13:57       ` Michal Simek
2013-05-31 13:57         ` Michal Simek
2013-05-31 15:16         ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-31 15:16           ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-31 16:45           ` Michal Simek
2013-06-06  8:29             ` Jean-Christophe PLAGNIOL-VILLARD
2013-06-06  8:39               ` Michal Simek
2013-06-06 11:55                 ` Grant Likely
2013-06-06 13:26                   ` Michal Simek
2013-06-06 14:49                 ` Jean-Christophe PLAGNIOL-VILLARD
     [not found]                   ` <20130606144929.GI19834-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org>
2013-06-06 17:16                     ` Michal Simek
2013-07-18  7:02                   ` Michal Simek
2013-07-18  7:02                     ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.