diff mbox

of/irq: Export of_irq_count()

Message ID 1450786942-13292-1-git-send-email-broonie@kernel.org
State New
Headers show

Commit Message

Mark Brown Dec. 22, 2015, 12:22 p.m. UTC
Some of the Qualcomm pinctrl drivers have started trying to use
of_irq_count() in modular code but this fails to build as the symbol is
not exported.  Since there doesn't seem to be any reason not to export
the symbol make it available to modules.

Signed-off-by: Mark Brown <broonie@kernel.org>

---
 drivers/of/irq.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index 4fa916dffc91..2cea06a0c751 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -449,6 +449,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