[tip: timers/clocksource] of/irq: Export of_irq_count for modules

tip-bot2 for Will McVicker posted 1 patch 6 days ago
drivers/of/irq.c | 1 +
1 file changed, 1 insertion(+)
[tip: timers/clocksource] of/irq: Export of_irq_count for modules
Posted by tip-bot2 for Will McVicker 6 days ago
The following commit has been merged into the timers/clocksource branch of tip:

Commit-ID:     be26ec8b1479a0bb1888ed93d7bb5ce4d8eaee1e
Gitweb:        https://git.kernel.org/tip/be26ec8b1479a0bb1888ed93d7bb5ce4d8eaee1e
Author:        Will McVicker <willmcvicker@google.com>
AuthorDate:    Fri, 20 Jun 2025 11:17:04 -07:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Tue, 23 Sep 2025 10:53:53 +02:00

of/irq: Export of_irq_count for modules

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@google.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Youngmin Nam <youngmin.nam@samsung.com>
Reviewed-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Reviewed-by: Youngmin Nam <youngmin.nam@samsung.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250620181719.1399856-2-willmcvicker@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 74aaea6..d2b6908 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