From: Will McVicker Date: Fri, 20 Jun 2025 18:17:04 +0000 (-0700) Subject: of/irq: Export of_irq_count for modules X-Git-Tag: v6.18-rc1~177^2^2~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be26ec8b1479a0bb1888ed93d7bb5ce4d8eaee1e;p=thirdparty%2Flinux.git 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 Signed-off-by: Daniel Lezcano Tested-by: Youngmin Nam Reviewed-by: Linus Walleij Reviewed-by: Youngmin Nam Acked-by: Rob Herring (Arm) Acked-by: Arnd Bergmann Link: https://lore.kernel.org/r/20250620181719.1399856-2-willmcvicker@google.com --- diff --git a/drivers/of/irq.c b/drivers/of/irq.c index 74aaea61de13c..d2b690857e588 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