[PATCH v1 1/6] of/irq: Export of_irq_count for modules

From: Will McVicker
Date: Mon Mar 31 2025 - 19:01:01 EST


Need to export `of_irq_count` in preparation for modularizing the Exynos
MCT driver which uses this API for setting up the timer IRQs.

Signed-off-by: Will McVicker <willmcvicker@xxxxxxxxxx>
---
drivers/of/irq.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index f8ad79b9b1c9..5adda1dac3cf 100644
--- a/drivers/of/irq.c
+++ b/drivers/of/irq.c
@@ -519,6 +519,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
--
2.49.0.472.ge94155a9ec-goog