From: Arnd Bergmann Date: Tue, 16 May 2023 20:04:28 +0000 (+0200) Subject: irqdomain: Include internals.h for function prototypes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8091f56ee4e51037662590edc0b0e44807fbab4d;p=linux.git irqdomain: Include internals.h for function prototypes irq_domain_debugfs_init() is defined in irqdomain.c, but the declaration is in a header that is not included here: kernel/irq/irqdomain.c:1965:13: error: no previous prototype for 'irq_domain_debugfs_init' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20230516200432.554240-1-arnd@kernel.org --- diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index f34760a1e2226..5bd01624e4470 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -1915,6 +1915,8 @@ static void irq_domain_check_hierarchy(struct irq_domain *domain) #endif /* CONFIG_IRQ_DOMAIN_HIERARCHY */ #ifdef CONFIG_GENERIC_IRQ_DEBUGFS +#include "internals.h" + static struct dentry *domain_dir; static void