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

Will McVicker willmcvicker at google.com
Wed Jun 18 14:08:38 PDT 2025


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

Acked-by: Rob Herring (Arm) <robh at kernel.org>
Acked-by: Arnd Bergmann <arnd at arndb.de>
Reviewed-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A at public.gmane.org>
Reviewed-by: Youngmin Nam <youngmin.nam at samsung.com>
Tested-by: Youngmin Nam <youngmin.nam at samsung.com>
Signed-off-by: Will McVicker <willmcvicker at google.com>
---
 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.50.0.rc2.761.g2dc52ea45b-goog




More information about the linux-arm-kernel mailing list