summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill McVicker <willmcvicker@google.com>2025-06-20 11:17:04 -0700
committerDaniel Lezcano <daniel.lezcano@linaro.org>2025-09-23 10:53:53 +0200
commitbe26ec8b1479a0bb1888ed93d7bb5ce4d8eaee1e (patch)
treedc1d23623eddb5f76babfab1b7e71fc37914c415
parentc1ff9e919addb8cf0414b08bd996f11a4a2e7297 (diff)
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
-rw-r--r--drivers/of/irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c
index 74aaea61de13..d2b690857e58 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