[PATCH] of/irq: export of_irq_count

Zhangfei Gao zhangfei.gao at linaro.org
Thu Oct 15 03:36:42 PDT 2015


Export of_irq_count, otherwise module build fail if of_irq_count is used

Signed-off-by: Zhangfei Gao <zhangfei.gao at linaro.org>
Signed-off-by: John Garry <john.garry at huawei.com>
---
 drivers/of/irq.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index 0c7f4cbe3434..0d149cc48cfe 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -448,6 +448,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.9.1




More information about the linux-arm-kernel mailing list